[FFmpeg-devel] [PATCH] Fix confusing assert in lzwenc.c

Daniel Verkamp daniel
Sat Mar 14 21:14:58 CET 2009


On Mon, Feb 9, 2009 at 1:42 AM, Daniel Verkamp <daniel at drv.nu> wrote:
> Hi,
>
> Attached fixes an assert in libavcodec/lzwenc.c:
>
> 1. The right side of the && made no sense at all - comparing
> s->maxbits with itself? ?Presumably this should be LZW_MAXBITS as in
> patch.
> 2. The left side of the && was confusing (to me at least) because of
> the order in which it was written, although both forms are equivalent.
>
> Thanks,
> -- Daniel Verkamp
>

Ping?




More information about the ffmpeg-devel mailing list