Opened 11 years ago

Closed 11 years ago

#2006 closed defect (fixed)

tiff: support lzw with inverted FillOrder

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: tif
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I attache a patch, but I'm not sure if it's correct and don't want to deal with this issue anymore, so if it's not correct please apply your version of code, thanks

samples:

http://www.datafilehost.com/download-e6dce279.html

C:\>ffmpeg -i lzw_lsb2msb.tif
ffmpeg version N-47325-gb90e795 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec  1 2012 02:23:25 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 10.100 / 52. 10.100
  libavcodec     54. 78.100 / 54. 78.100
  libavformat    54. 41.100 / 54. 41.100
  libavdevice    54.  3.101 / 54.  3.101
  libavfilter     3. 23.104 /  3. 23.104
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
[tiff @ 0x1eec980] Decoded only 1 bytes of 3072
Input #0, image2, from 'lzw_lsb2msb.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, rgb24, 1024x768, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (1)

tiff_lzw3.diff (1.8 KB ) - added by ami_stuff 11 years ago.

Download all attachments as: .zip

Change History (5)

by ami_stuff, 11 years ago

Attachment: tiff_lzw3.diff added

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavcodec
Keywords: tif added
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

Fixed by you.

comment:2 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: closedreopened

Sorry, I am not sure what I tested but this is a reproducible ticket.

comment:3 by Carl Eugen Hoyos, 11 years ago

Status: reopenedopen

comment:4 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed

I believe you fixed this ticket;-)

Note: See TracTickets for help on using tickets.