diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2006-06-02 07:50:12 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2006-06-02 07:50:12 +0000 |
commit | 63d6a6b91e4997737905bbd2cf5970ad90a31869 (patch) | |
tree | 1e65bd18b8ea8c04a33b39d86fe440d99b8769e2 /libavcodec/qdm2.c | |
parent | f25fc9b197e905862a55652b8331efcc24d4efbc (diff) | |
download | ffmpeg-63d6a6b91e4997737905bbd2cf5970ad90a31869.tar.gz |
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
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index e9356edbad..81d5483866 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -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; |