Opened 7 months ago

Closed 6 months 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 Changed 7 months ago by cehoyos

  • Priority changed from important to normal

comment:2 Changed 6 months ago by mvignali

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.