Mercurial > libavcodec.hg
changeset 3333:6bfe6c09d837 libavcodec
Fixed a possible bug, checked against the assembly.
No sample that used the code has been found though.
author | banan |
---|---|
date | Fri, 02 Jun 2006 07:50:12 +0000 |
parents | 987b30ac0497 |
children | 97d9937d4ce7 |
files | qdm2.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/qdm2.c Thu Jun 01 23:22:07 2006 +0000 +++ b/qdm2.c Fri Jun 02 07:50:12 2006 +0000 @@ -538,7 +538,7 @@ 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;