[FFmpeg-trac] #8300(avcodec:new): libdav1d decoder doesn't initialize reordered_opaque

FFmpeg trac at avcodec.org
Thu Oct 17 18:01:51 EEST 2019


#8300: libdav1d decoder doesn't initialize reordered_opaque
----------------------------------+----------------------------------
             Reporter:  Lastique  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  4.2
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 libdav1d decoder does not initialize AVFrame::reordered_opaque member of
 the decoded frame, leaving it zero (i.e. leaving the value that was there
 when avcodec_receive_frame was called). Normally, as documented for
 AVCodecContext::reordered_opaque, that member should be initialized with
 the value from AVCodecContext::reordered_opaque after reordering. Since,
 AFAIK, AV1 doesn't reorder frames, libdav1d_receive_frame should simply
 copy AVCodecContext::reordered_opaque to AVFrame::reordered_opaque.

 This was found when using ffmpeg (libavcodec) through its C API. I don't
 think it can be demonstrated via ffmpeg command line.

 ffmpeg 4.2.1

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


More information about the FFmpeg-trac mailing list