Merge commit '72d621069fc301b431fac36b5281699a362562f2'
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Thu, 23 Jun 2016 20:30:37 +0000 (22:30 +0200)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Thu, 23 Jun 2016 20:30:37 +0000 (22:30 +0200)
* commit '72d621069fc301b431fac36b5281699a362562f2':
  movenc: Add a missed const

Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
libavformat/movenc.c

index 0a7983658ebb007990130a73807c12d4f4a2562d..3d35477e5a9d94fe65a9d3443fda8077fbf2f862 100644 (file)
@@ -4249,7 +4249,7 @@ static int mov_flush_fragment(AVFormatContext *s, int force)
     for (i = 0; i < s->nb_streams; i++) {
         MOVTrack *track = &mov->tracks[i];
         if (!track->end_reliable) {
-            AVPacket *next = ff_interleaved_peek(s, i);
+            const AVPacket *next = ff_interleaved_peek(s, i);
             if (next) {
                 track->track_duration = next->dts - track->start_dts;
                 if (next->pts != AV_NOPTS_VALUE)