Commit 90969cd2 authored by ramiro's avatar ramiro

Fix regression introduced by r12929.

num_coeffs is just one byte (or maybe two?).
It would make no sense for num_coeffs to be as high as 2^32.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12931 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8b6f7671
......@@ -293,7 +293,8 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data,
height = bytestream_get_le16(&buf);
buf += 4; /* some constant */
is_pframe = bytestream_get_le32(&buf);
num_coeffs = bytestream_get_le32(&buf);
num_coeffs = bytestream_get_byte(&buf);
buf += 3; /* some constant */
if(!ctx->avctx) {
int 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