[FFmpeg-cvslog] r9994 - trunk/libavcodec/bitstream.h
Vitor Sessak
vitor1001
Thu Aug 9 05:06:28 CEST 2007
Hi
alex wrote:
>
> Modified: trunk/libavcodec/bitstream.h
> ==============================================================================
> --- trunk/libavcodec/bitstream.h (original)
> +++ trunk/libavcodec/bitstream.h Wed Aug 8 22:38:30 2007
> @@ -969,4 +969,50 @@ static inline int decode012(GetBitContex
> return get_bits1(gb) + 1;
> }
>
> +/**
> + * Get unary code of limited length
> + * @todo FIXME Slow and ugly
> + * @param gb GetBitContext
> + * @param[in] stop The bitstop value (unary code of 1's or 0's)
> + * @param[in] len Maximum length
> + * @return Unary length/index
> + */
> +static int get_unary(GetBitContext *gb, int stop, int len)
After this patch, I'm getting these warnings in every file that don't
use get_unary:
bitstream.h:962: warning: ?get_unary? defined but not used
Maybe it should be an inline function or moved to bitstream.c?
-Vitor
More information about the ffmpeg-cvslog
mailing list