aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-25 01:26:55 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-06-19 11:44:44 +0200
commita444857db31894c48efc4d6521efb425dabc04f0 (patch)
tree701b47fa08f58c4ee2015a289e608700c75899e1
parentc77d226f7116d15ccdb84d18a8dde8e673703bfb (diff)
downloadffmpeg-a444857db31894c48efc4d6521efb425dabc04f0.tar.gz
avformat/mov: Mark avio context of decompressed atoms as seekable
Fixes Ticket4329 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8ce564ea280b61d21eebf8a2fd741f792ce81638)
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1e550177ce..e5af31d4e1 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2786,6 +2786,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);