1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fixed a possible bug, checked against the assembly.

No sample that used the code has been found though.

Originally committed as revision 5448 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Benjamin Larsson 2006-06-02 07:50:12 +00:00
parent f25fc9b197
commit 63d6a6b91e

View File

@ -538,7 +538,7 @@ static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_
run = 1;
case_val = 8;
} else {
switch (switchtable[coding_method[ch][sb][j]]) {
switch (switchtable[coding_method[ch][sb][j]-8]) {
case 0: run = 10; case_val = 10; break;
case 1: run = 1; case_val = 16; break;
case 2: run = 5; case_val = 24; break;