[FFmpeg-devel] [PATCH] lavf/segment: remove unused offset variable

Stefano Sabatini stefasab at gmail.com
Sun Jul 1 19:03:23 CEST 2012


---
 libavformat/segment.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index f76c95d..ba724f5 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -39,7 +39,6 @@ typedef struct {
     int   list_size;       ///< number of entries for the segment list file
     float time;            ///< segment duration
     int  wrap;             ///< number after which the index wraps
-    int64_t offset_time;
     int64_t recording_time;
     int has_video;
     AVIOContext *pb;
@@ -130,7 +129,6 @@ static int seg_write_header(AVFormatContext *s)
     int ret, i;
 
     seg->number = 0;
-    seg->offset_time = 0;
     seg->recording_time = seg->time * 1000000;
 
     oc = avformat_alloc_context();
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list