Commit c4c3d79d authored by bcoudurier's avatar bcoudurier

since code now use get_bits_long, allocate padding buffer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18138 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d9efa4eb
......@@ -1166,7 +1166,7 @@ static int mov_read_stsz(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
num_bytes = (entries*field_size+4)>>3;
buf = av_malloc(num_bytes);
buf = av_malloc(num_bytes+FF_INPUT_BUFFER_PADDING_SIZE);
if (!buf) {
av_freep(&sc->sample_sizes);
return AVERROR(ENOMEM);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment