[FFmpeg-devel] [PATCH v1] avformat/rtpdec.h remove unused variable

Jun Li junli1026 at gmail.com
Tue Mar 12 23:26:22 EET 2019


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

Signed-off-by: Jun Li <junli1026 at gmail.com>
---
 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;
-- 
2.17.1



More information about the ffmpeg-devel mailing list