This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
tiff: add support for inverted FillOrder for uncompressed data
Fix decoding of file b.tif, trac issue
#168
. Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n0.8
Stefano Sabatini
Diego Biurrun
14 years ago
parent
bea705752d
commit
b437f5b055
1 changed files
with
7 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-1
libavcodec/tiff.c
+ 7
- 1
libavcodec/tiff.c
View File
@@ -170,7 +170,13 @@ static int tiff_unpack_strip(TiffContext *s, uint8_t* dst, int stride, const uin
}
switch(s->compr){
case TIFF_RAW:
memcpy(dst, src, width);
if (!s->fill_order) {
memcpy(dst, src, width);
} else {
int i;
for (i = 0; i < width; i++)
dst[i] = av_reverse[src[i]];
}
src += width;
break;
case TIFF_PACKBITS:
Write
Preview
Loading…
Cancel
Save