[FFmpeg-cvslog] avformat/rtpdec.h remove unused variable

Jun Li git at videolan.org
Wed Mar 13 22:35:09 EET 2019


ffmpeg | branch: master | Jun Li <junli1026 at gmail.com> | Tue Mar 12 14:26:22 2019 -0700| [c2a221c5ae5017e11654b9688ac97e9f5d3570b2] | committer: Michael Niedermayer

avformat/rtpdec.h remove unused variable

Looks like the variable 'cur_timestamp' is not used anywhere.
So remove this variable.

Signed-off-by: Jun Li <junli1026 at gmail.com>
Reviewed-by: Steven Liu <lq at chinaffmpeg.org>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c2a221c5ae5017e11654b9688ac97e9f5d3570b2
---

 libavformat/rtpdec.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 5a47d6f79d..9144edbe8b 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -154,7 +154,6 @@ struct RTPDemuxContext {
     uint16_t seq;
     uint32_t timestamp;
     uint32_t base_timestamp;
-    uint32_t cur_timestamp;
     int64_t  unwrapped_timestamp;
     int64_t  range_start_offset;
     int max_payload_size;



More information about the ffmpeg-cvslog mailing list