This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
HALFPQ should be used only for when PQUANT is selected
Originally committed as revision 10500 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov
17 years ago
parent
f7d2a43707
commit
a9d78ac51a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/vc1.c
+ 1
- 1
libavcodec/vc1.c
View File
@@ -2562,7 +2562,7 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c
ac_val = s->ac_val[0][0] + s->block_index[n] * 16;
ac_val2 = ac_val;
scale = mquant * 2 + v->halfpq;
scale = mquant * 2 +
((mquant == v->pq) ?
v->halfpq
: 0)
;
if(dc_pred_dir) //left
ac_val -= 16;
Write
Preview
Loading…
Cancel
Save