#10254: Unsupported EXR in the wild
-------------------------------------+-------------------------------------
             Reporter:  Eugene       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  6.0          |               Resolution:
             Keywords:  exr avcodec  |               Blocked By:
  decoding images                    |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by vectronic):

 I believe this is because the EXR files are creating large VLC tables -
 large enough that the index into sub-tables is created than `2^16` which
 is the limit defined here:

 
https://github.com/FFmpeg/FFmpeg/blob/1001bdc5047ec7ed0754a2084b77637028bb82cc/libavcodec/vlc.h#L25

 When the table is being constructed, the offset into the sub-table is
 stored here and a narrowing conversion occurs, which then causes the
 `strange codes` message on the next line:

 
https://github.com/FFmpeg/FFmpeg/blob/1001bdc5047ec7ed0754a2084b77637028bb82cc/libavcodec/vlc.c#L211-L212
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10254#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to