diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-06-23 22:30:37 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-06-23 22:30:37 +0200 |
commit | 7e4e8fdd34a9ff8931a44e5b6de09b0fd5cad7c1 (patch) | |
tree | b8e60d71ae86a65bda16ac9f00e5552f318c354b /libavformat/movenc.c | |
parent | c60d328e676770596c40931567feee8efc7ef670 (diff) | |
parent | 72d621069fc301b431fac36b5281699a362562f2 (diff) |
Merge commit '72d621069fc301b431fac36b5281699a362562f2'
* commit '72d621069fc301b431fac36b5281699a362562f2':
movenc: Add a missed const
Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 0a7983658e..3d35477e5a 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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) |