OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b8e7ab
)
Make sure all the bits are written to output in fax data decoder.
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 29 Sep 2009 05:55:14 +0000
(
05:55
+0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 29 Sep 2009 05:55:14 +0000
(
05:55
+0000)
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
libavcodec/faxcompr.c
patch
|
blob
|
history
diff --git
a/libavcodec/faxcompr.c
b/libavcodec/faxcompr.c
index
3b7d8e6
..
9266e54
100644
(file)
--- a/
libavcodec/faxcompr.c
+++ b/
libavcodec/faxcompr.c
@@
-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)