Quoting Francois Cartegnie (2016-10-12 14:50:03)
> Because not every side data is handled or extracted
> internally by libav, a libavcodec user might need
> to attach some extradata and retrieve it in
> presentation order after decoding.
Attaching arbitrary data to frames to get it reordered from coded order
to presentation order has been possible for ages, long before side data
even existed -- that's reordered_opaque.
Set AVFrame.reordered_opaque in get_buffer2() callback, retrieve it from
the frame returned from avcodec_receive_frame().
libav-devel mailing list