#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
_______________________________________________
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