On 02/19/2012 09:44 AM, Anton Khirnov wrote:

> ---
>  libavcodec/pcxenc.c |   31 ++++++++++++++++++++++---------
>  1 files changed, 22 insertions(+), 9 deletions(-)
[...]
> @@ -144,6 +145,14 @@ static int pcx_encode_frame(AVCodecContext *avctx,
>      line_bytes = (avctx->width * bpp + 7) >> 3;
>      line_bytes = (line_bytes + 1) & ~1;
>  
> +    max_pkt_size = 128 + avctx->height*2*line_bytes*nplanes + (pal ? 256*3 + 
> 1 : 0);


add some spaces between operators.

lgtm otherwise.

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

Reply via email to