[FFmpeg-cvslog] r20025 - trunk/libavcodec/faxcompr.c

Reimar Döffinger Reimar.Doeffinger
Sat Sep 26 08:33:51 CEST 2009


On Sat, Sep 26, 2009 at 07:48:50AM +0200, kostya wrote:
> +            if(compr==TIFF_CCITT_RLE && (get_bits_count(&gb) & 7))
> +                skip_bits(&gb, 8 - (get_bits_count(&gb) & 7));

Huh? Isn't that all together the same as
if(compr==TIFF_CCITT_RLE)
    align_get_bits(&gb);
(and looking at the source for align_get_bits your code is over-complex
anyway when you assume two's complement representation).



More information about the ffmpeg-cvslog mailing list