mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
Make sure all the bits are written to output in fax data decoder.
This fixes decoding TIFF images with fax compression and width being not multiple of eight (and issue 1429). Originally committed as revision 20072 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0b8e7ab059
commit
a5568f4608
@ -253,6 +253,7 @@ static void put_line(uint8_t *dst, int size, int width, const int *runs)
|
||||
if(run)
|
||||
put_sbits(&pb, run, mode);
|
||||
}
|
||||
flush_put_bits(&pb);
|
||||
}
|
||||
|
||||
static int find_group3_syncmarker(GetBitContext *gb, int srcsize)
|
||||
|
Loading…
x
Reference in New Issue
Block a user