diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 0acf981aef..1011763641 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2841,7 +2841,8 @@ static int mov_read_stsz(MOVContext *c, AVIOContext *pb, MOVAtom atom) if (ret < 0) { av_freep(&sc->sample_sizes); av_free(buf); - return ret; + av_log(c->fc, AV_LOG_WARNING, "STSZ atom truncated\n"); + return 0; } init_get_bits(&gb, buf, 8*num_bytes); |