[SCM] libav/experimental: avconv: remove a write-only variable

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:01:38 UTC 2014


The following commit has been merged in the experimental branch:
commit 67f2a688143b644f99360565a9f36c61a5f052e9
Author: Anton Khirnov <anton at khirnov.net>
Date:   Wed Feb 19 16:16:43 2014 +0100

    avconv: remove a write-only variable

diff --git a/avconv.c b/avconv.c
index 64e8321..13e6778 100644
--- 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;
 }
diff --git a/avconv.h b/avconv.h
index c270401..c912fae 100644
--- 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 */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list