OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd7428
)
In case when any quantizer may occur, HALFPQ should be zero
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 15 Sep 2007 09:23:58 +0000
(09:23 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 15 Sep 2007 09:23:58 +0000
(09:23 +0000)
Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vc1.c
patch
|
blob
|
history
diff --git
a/libavcodec/vc1.c
b/libavcodec/vc1.c
index
f273422
..
4f19dc2
100644
(file)
--- a/
libavcodec/vc1.c
+++ b/
libavcodec/vc1.c
@@
-342,6
+342,8
@@
static int vop_dquant_decoding(VC1Context *v)
break;
case DQPROFILE_ALL_MBS:
v->dqbilevel = get_bits1(gb);
+ if(!v->dqbilevel)
+ v->halfpq = 0;
default: break; //Forbidden ?
}
if (v->dqbilevel || v->dqprofile != DQPROFILE_ALL_MBS)