aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-16 17:58:50 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-07-03 21:48:50 +0200
commitfd0e6ef99ab1e7babf3b8462fd014a734cebad9b (patch)
treef534a79b3652a23ada8bee588e10a4dae1712a79 /libavformat
parent77dcae5d74cdd6fba903752122fc77f423de6d3e (diff)
downloadffmpeg-fd0e6ef99ab1e7babf3b8462fd014a734cebad9b.tar.gz
lavf/segment: remove unused offset variable
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/segment.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index f28e07efa3..bdcf1276c7 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;
@@ -129,7 +128,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();