[FFmpeg-cvslog] avformat/mov: Mark avio context of decompressed atoms as seekable

Michael Niedermayer git at videolan.org
Fri Jun 19 11:19:14 CEST 2015


ffmpeg | branch: release/2.5 | Michael Niedermayer <michaelni at gmx.at> | Mon May 25 01:26:55 2015 +0200| [d4c7a1ecb8ced6001303b9607a571e396e268632] | committer: Carl Eugen Hoyos

avformat/mov: Mark avio context of decompressed atoms as seekable

Fixes Ticket4329

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 8ce564ea280b61d21eebf8a2fd741f792ce81638)

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

 libavformat/mov.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 6d94338..783ad0d 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -3162,6 +3162,7 @@ static int mov_read_cmov(MOVContext *c, AVIOContext *pb, MOVAtom atom)
         goto free_and_return;
     if (ffio_init_context(&ctx, moov_data, moov_len, 0, NULL, NULL, NULL, NULL) != 0)
         goto free_and_return;
+    ctx.seekable = AVIO_SEEKABLE_NORMAL;
     atom.type = MKTAG('m','o','o','v');
     atom.size = moov_len;
     ret = mov_read_default(c, &ctx, atom);



More information about the ffmpeg-cvslog mailing list