decode: add a method for attaching lavc-internal data to frames
authorAnton Khirnov <anton@khirnov.net>
Fri, 13 Oct 2017 16:59:17 +0000 (18:59 +0200)
committerTimo Rothenpieler <timo@rothenpieler.org>
Fri, 10 Nov 2017 15:56:54 +0000 (16:56 +0100)
commit9f1cfd88af88a7d7d5c56a368a46639dfdfdef75
tree3577d988bb3635da5ee09bb506591205577026c2
parent1fa3a9a31de11a2dee0efc75b89862e80ab3c90f
decode: add a method for attaching lavc-internal data to frames

Use the AVFrame.private_ref field.

This new struct will be useful in the following commits.

Merges Libav commit 359a8a3e2d1194b52b6c386f94fd0929567dfb67.
libavcodec/decode.c
libavcodec/decode.h
libavcodec/wrapped_avframe.c