[FFmpeg-soc] [soc]: r3896 - dirac/libavcodec/diracdec.c
conrad
subversion at mplayerhq.hu
Sun Dec 28 08:28:33 CET 2008
Author: conrad
Date: Sun Dec 28 08:28:33 2008
New Revision: 3896
Log:
Just return if the subband is 0
Modified:
dirac/libavcodec/diracdec.c
Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c Sun Dec 28 08:28:09 2008 (r3895)
+++ dirac/libavcodec/diracdec.c Sun Dec 28 08:28:33 2008 (r3896)
@@ -272,9 +272,9 @@ static av_always_inline int decode_subba
int blockcnt_one = (cb_numx + cb_numy) == 2;
length = svq3_get_ue_golomb(gb);
- if (! length) {
- align_get_bits(gb);
- } else {
+ if (!length)
+ return;
+
quant = svq3_get_ue_golomb(gb);
align_get_bits(gb);
@@ -286,7 +286,7 @@ static av_always_inline int decode_subba
codeblock(s, b, cb_x, cb_y, cb_numx, cb_numy, &quant, blockcnt_one, is_arith);
if (is_arith)
dirac_arith_flush(&s->arith);
- }
+
if (b->orientation == subband_ll && s->refs == 0)
intra_dc_prediction(b);
More information about the FFmpeg-soc
mailing list