summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-05-18 13:49:57 +0300
committerMartin Storsjö <martin@martin.st>2016-05-18 21:59:48 +0300
commit72d621069fc301b431fac36b5281699a362562f2 (patch)
treec85bcfe2221d1b0865a3dc8d6892dfefb04a730f
parenta79aafd0b4d37eda6f15dc68e6509d4e815290c9 (diff)
movenc: Add a missed const
This was missed in e1eb0fc9601, when ff_interleaved_peek was changed to include const during the evolution of the patch. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index ae754e13e3..a5e374e491 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3196,7 +3196,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)