[FFmpeg-soc] [soc]: r3902 - dirac/libavcodec/diracdec.c
conrad
subversion at mplayerhq.hu
Thu Jan 1 21:31:10 CET 2009
Author: conrad
Date: Thu Jan 1 21:31:09 2009
New Revision: 3902
Log:
decode_subband_* has no meaningful return value, so return void
Modified:
dirac/libavcodec/diracdec.c
Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c Thu Jan 1 21:31:06 2009 (r3901)
+++ dirac/libavcodec/diracdec.c Thu Jan 1 21:31:09 2009 (r3902)
@@ -256,7 +256,7 @@ static inline void intra_dc_prediction(S
* @param level subband level
* @param orientation orientation of the subband
*/
-static av_always_inline int decode_subband_internal(DiracContext *s, SubBand *b, int is_arith)
+static av_always_inline void decode_subband_internal(DiracContext *s, SubBand *b, int is_arith)
{
GetBitContext *gb = &s->gb;
unsigned int length;
@@ -294,18 +294,16 @@ static av_always_inline int decode_subba
if (b->orientation == subband_ll && s->refs == 0)
intra_dc_prediction(b);
-
- return 0;
}
-static av_noinline int decode_subband_arith(DiracContext *s, SubBand *b)
+static av_noinline void decode_subband_arith(DiracContext *s, SubBand *b)
{
- return decode_subband_internal(s, b, 1);
+ decode_subband_internal(s, b, 1);
}
-static av_noinline int decode_subband_vlc(DiracContext *s, SubBand *b)
+static av_noinline void decode_subband_vlc(DiracContext *s, SubBand *b)
{
- return decode_subband_internal(s, b, 0);
+ decode_subband_internal(s, b, 0);
}
/**
More information about the FFmpeg-soc
mailing list