diff options
author | Nick Renieris <velocityra@gmail.com> | 2019-05-30 13:42:41 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-05-30 19:27:05 +0200 |
commit | 661facb8a89a2712b67da221f0176a42382c9827 (patch) | |
tree | 13730aa5a924ed96f5a48f7eef9f26d567d4a899 /libavcodec/tableprint_vlc.h | |
parent | a7e018b05e0ec99a466b20c797785620645e5d3a (diff) | |
download | ffmpeg-661facb8a89a2712b67da221f0176a42382c9827.tar.gz |
libavcodec/tiff: Process SubIFDs tag with multiple entries
SubIFDs that were part of more than single-sized "SubIFDs" tags were
being ignored due to existing code ignoring that case.
This patch makes is so the first entry is read, which is not ideal
but enough for some DNG images present in the wild to be decodeable
More specifically, the first SubIFD which we would process with this
patch is the main image and the second one is a second thumbnail,
which is not as important to decode.
In DNG images with the .tiff extension, it solves the issue where
the TIFF thumbnail in IFD 0 was incorrectly parsed (related
confusion: [1]).
Embedded thumbnails for DNG images can still be decoded with the
"-thumbnail" option.
Related to ticket: https://trac.ffmpeg.org/ticket/4364
[1]: https://superuser.com/questions/546879/creating-video-from-dng-images-with-ffmpeg
Signed-off-by: Nick Renieris <velocityra@gmail.com>
Diffstat (limited to 'libavcodec/tableprint_vlc.h')
0 files changed, 0 insertions, 0 deletions