[FFmpeg-devel] [PATCH 2/7] decode: add a method for attaching lavc-internal data to frames

Xiaolei Yu dreifachstein at gmail.com
Mon Oct 16 14:28:27 EEST 2017


On 10/03/2017 09:15 PM, wm4 wrote:
> From: Anton Khirnov <anton at khirnov.net>
> 
> Use the AVFrame.opaque_ref field. The original user's opaque_ref is
> wrapped in the lavc struct and then unwrapped before the frame is
> returned to the caller.
> 
> This new struct will be useful in the following commits.
> 

How about using AVFrame::buf[]?





More information about the ffmpeg-devel mailing list