comparison mpeg12.c @ 2203:edf4787f3baf libavcodec

typo
author michael
date Thu, 02 Sep 2004 18:46:41 +0000
parents 8079b177ff5c
children 9b6eb06cc184
comparison
equal deleted inserted replaced
2202:8079b177ff5c 2203:edf4787f3baf
1630 /* special case for the first coef. no need to add a second vlc table */ 1630 /* special case for the first coef. no need to add a second vlc table */
1631 UPDATE_CACHE(re, &s->gb); 1631 UPDATE_CACHE(re, &s->gb);
1632 v= SHOW_UBITS(re, &s->gb, 2); 1632 v= SHOW_UBITS(re, &s->gb, 2);
1633 if (v & 2) { 1633 if (v & 2) {
1634 LAST_SKIP_BITS(re, &s->gb, 2); 1634 LAST_SKIP_BITS(re, &s->gb, 2);
1635 level= (3*qscale)>>4; 1635 level= (3*qscale)>>1;
1636 level= (level-1)|1; 1636 level= (level-1)|1;
1637 if(v&1) 1637 if(v&1)
1638 level= -level; 1638 level= -level;
1639 block[0] = level; 1639 block[0] = level;
1640 i++; 1640 i++;