diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-01-18 01:37:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-18 01:37:42 +0000 |
commit | 1d0eab1dcc26344309f624a95d91f97d72f4b847 (patch) | |
tree | 37ae014bba1a776294910fba748ad563b662923b /libavcodec/dsputil.c | |
parent | e51d4defe06c0acbfb56b5256cefae3b39a7d5c1 (diff) | |
download | ffmpeg-1d0eab1dcc26344309f624a95d91f97d72f4b847.tar.gz |
bugs
Originally committed as revision 1469 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index e960696e1a..efdb438c9b 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -1894,10 +1894,11 @@ static int rd8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int run++; } i= scantable[last]; - - assert(level); - + level= temp[i] + 64; + + assert(level - 64); + if((level&(~127)) == 0){ bits+= last_length[UNI_AC_ENC_INDEX(run, level)]; }else |