diff options
author | Nick Renieris <velocityra@gmail.com> | 2019-05-30 13:42:42 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-05-30 19:27:05 +0200 |
commit | 9c35285aea84be916ab19a1ed3627afaad461199 (patch) | |
tree | 5e2e95d340b965ee96af1a5178e6076d5dda8819 /libavformat | |
parent | 661facb8a89a2712b67da221f0176a42382c9827 (diff) | |
download | ffmpeg-9c35285aea84be916ab19a1ed3627afaad461199.tar.gz |
avcodec/tiff: Recognize DNG/CinemaDNG images
Additionally:
- Renamed TIFF_WHITE_LEVEL to DNG_WHITE_LEVEL since it is specified
in the DNG spec.
- Added/changed some comments to be more precise in differentiating
between TIFF, TIFF/EP and DNG values.
Related to ticket: https://trac.ffmpeg.org/ticket/4364
Signed-off-by: Nick Renieris <velocityra@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/img2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c index 8432cc0955..16bc9d2abd 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -51,6 +51,7 @@ const IdStrMap ff_img_tags[] = { { AV_CODEC_ID_TARGA, "tga" }, { AV_CODEC_ID_TIFF, "tiff" }, { AV_CODEC_ID_TIFF, "tif" }, + { AV_CODEC_ID_TIFF, "dng" }, { AV_CODEC_ID_SGI, "sgi" }, { AV_CODEC_ID_PTX, "ptx" }, { AV_CODEC_ID_PCX, "pcx" }, |