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
sonicenc: limit quant so that golomb codes are less than 32 bits long
before they could become 33 bits Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer
13 years ago
parent
efac6f7472
commit
512beea529
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavcodec/sonic.c
+ 2
- 2
libavcodec/sonic.c
View File
@@ -724,8 +724,8 @@ static int sonic_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
if (quant < 1)
quant = 1;
if (quant > 6553
5
)
quant = 6553
5
;
if (quant > 6553
4
)
quant = 6553
4
;
set_ue_golomb(&pb, quant);
Write
Preview
Loading…
Cancel
Save