Commit 72d62106 authored by Martin Storsjö's avatar Martin Storsjö

movenc: Add a missed const

This was missed in e1eb0fc9, when ff_interleaved_peek was
changed to include const during the evolution of the patch.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent a79aafd0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment