libdav1d decoder doesn't initialize reordered_opaque
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
Change History
(3)
Cc: |
andysem@mail.ru added
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Version: |
4.2 → git-master
|
Should be fixed in 39d5acbd097b86a3ab8232a0156a18bf8d8a71ef