[FFmpeg-trac] #6220(avcodec:new): exr decoder generates a blank image for exr files that lack a valid offset table

FFmpeg trac at avcodec.org
Sun Mar 5 19:23:14 EET 2017


#6220: exr decoder generates a blank image for exr files that lack a valid offset
table
---------------------------------+--------------------------------------
             Reporter:  dthoang  |                     Type:  defect
               Status:  new      |                 Priority:  important
            Component:  avcodec  |                  Version:  git-master
             Keywords:  exr      |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 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.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6220>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list