# HG changeset patch # User ramiro # Date 1208906687 0 # Node ID 28af02d712cff9d5fe7403d7e56538c0c1709570 # Parent 4a5c7112e35c0a71b523df6644996532c5ca2ff9 Fix regression introduced by r12929. num_coeffs is just one byte. It would make no sense for num_coeffs to be as high as 2^32. diff -r 4a5c7112e35c -r 28af02d712cf mimic.c --- a/mimic.c Tue Apr 22 20:30:50 2008 +0000 +++ b/mimic.c Tue Apr 22 23:24:47 2008 +0000 @@ -293,7 +293,8 @@ 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;