[FFmpeg-cvslog] r20025 - trunk/libavcodec/faxcompr.c
Kostya
kostya.shishkov
Sat Sep 26 12:04:01 CEST 2009
On Sat, Sep 26, 2009 at 08:33:51AM +0200, Reimar D?ffinger wrote:
> 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).
Could be, I'm not used to align_get_bits(). Feel free to improve.
More information about the ffmpeg-cvslog
mailing list