avconv: remove a write-only variable
authorAnton Khirnov <anton@khirnov.net>
Wed, 19 Feb 2014 15:16:43 +0000 (16:16 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 24 Feb 2014 16:30:48 +0000 (17:30 +0100)
avconv.c
avconv.h

index 64e832149cb20c3375ea19411686b040eb398c35..13e6778dec81286473a827d69f999736c46b4565 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -1480,7 +1480,6 @@ static int init_input_stream(int ist_index, char *error, int error_len)
     ist->last_dts = ist->st->avg_frame_rate.num ? - ist->st->codec->has_b_frames * AV_TIME_BASE / av_q2d(ist->st->avg_frame_rate) : 0;
     ist->next_dts = AV_NOPTS_VALUE;
     init_pts_correction(&ist->pts_ctx);
-    ist->is_start = 1;
 
     return 0;
 }
index c270401706da615d2105348a75c72546d76be611..c912fae87e6c8f7c9e829ae2f357abc078aa0428 100644 (file)
--- a/avconv.h
+++ b/avconv.h
@@ -229,7 +229,6 @@ typedef struct InputStream {
     int64_t       last_dts;
     PtsCorrectionContext pts_ctx;
     double ts_scale;
-    int is_start;            /* is 1 at the start and after a discontinuity */
     int showed_multi_packet_warning;
     AVDictionary *opts;
     AVRational framerate;               /* framerate forced with -r */