Opened 7 years ago

Closed 7 years ago

#6220 closed defect (fixed)

exr decoder generates a blank image for exr files that lack a valid offset table

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

Description

Summary of the bug:

EXR files that lack a valid offset table are not decoded properly with exr decoder in libavcodec.

Examples of such files can be found here: https://developer.nvidia.com/hdr-display-sample

How to reproduce:

% ffmpeg -i kite1.exr kite1.png

I implemented a fix based upon this code:
https://github.com/syoyo/tinyexr/blob/master/tinyexr.h#L10534

I will submit my patch to ffmpeg-devel mailing list.

Change History (2)

comment:1 by Carl Eugen Hoyos, 7 years ago

Priority: importantnormal

comment:2 by mvignali, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.