On Thu, Dec 15, 2011 at 01:48:33PM +0530, Aneesh Dogra wrote:
> ---
>  libavcodec/eamad.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

fix overreads

Avoid third person singular in log messages, use impersonal form.

> --- a/libavcodec/eamad.c
> +++ b/libavcodec/eamad.c
> @@ -131,6 +131,7 @@ static inline void decode_block_intra(MadContext * t, 
> DCTELEM * block)
>          /* now quantify & encode AC coefficients */
>          for (;;) {
>              UPDATE_CACHE(re, &s->gb);
> +            if ( get_bits_left(&s->gb) < TEX_VLC_BITS ) break;

Drop the spaces inside the parentheses and break the line.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to