Commit 610c4029 authored by vitor's avatar vitor

Check *data_size in decode_frame()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14636 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e8722fb4
......@@ -236,6 +236,9 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
return 0;
}
if (*data_size < 32*5*2)
return -1;
init_get_bits(&gb, buf, avctx->block_align * 8);
for (i=0; i < 32; i++) {
......
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