[FFmpeg-cvslog] movenc: Add a missed const

Martin Storsjö git at videolan.org
Thu Jun 23 22:33:50 CEST 2016


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed May 18 13:49:57 2016 +0300| [72d621069fc301b431fac36b5281699a362562f2] | committer: Martin Storsjö

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 at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72d621069fc301b431fac36b5281699a362562f2
---

 libavformat/movenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index ae754e1..a5e374e 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)



More information about the ffmpeg-cvslog mailing list