Commit 8e502442 authored by kostya's avatar kostya

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).



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20072 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 49fe8e1d
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment