On Sun, Jul 01, 2012 at 02:58:46PM +0100, Mans Rullgard wrote:
> Signed-off-by: Mans Rullgard <[email protected]>
> ---
>  libavcodec/dsicinav.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c
> index d3b2cbd..7e64b97 100644
> --- a/libavcodec/dsicinav.c
> +++ b/libavcodec/dsicinav.c
> @@ -121,7 +121,7 @@ static int cin_decode_huffman(const unsigned char *src, 
> int src_size, unsigned c
>      unsigned char *dst_end = dst + dst_size;
>      const unsigned char *src_end = src + src_size;
>  
> -    memcpy(huff_code_table, src, 15); src += 15; src_size -= 15;
> +    memcpy(huff_code_table, src, 15); src += 15;
>  
>      while (src < src_end) {
>          huff_code = *src++;
> -- 

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

Reply via email to