diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-25 01:26:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-25 01:26:55 +0200 |
commit | 8ce564ea280b61d21eebf8a2fd741f792ce81638 (patch) | |
tree | eac339887fe103b01461adf77f2d8bc246590f86 | |
parent | 1cacecce79537a2c114c70c325b719774a8387eb (diff) | |
download | ffmpeg-8ce564ea280b61d21eebf8a2fd741f792ce81638.tar.gz |
avformat/mov: Mark avio context of decompressed atoms as seekable
Fixes Ticket4329
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index f1df6ce869..e32f7f436d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3344,6 +3344,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); |