[FFmpeg-devel] [PATCH] vp9: use AVFrame.buf[0] to check if a frame is valid
wm4
nfxjfg at googlemail.com
Thu Oct 15 19:34:06 CEST 2015
On Thu, 15 Oct 2015 08:52:33 -0400
"Ronald S. Bultje" <rsbultje at gmail.com> wrote:
> Hi,
>
> On Thu, Oct 15, 2015 at 8:02 AM, Hendrik Leppkes <h.leppkes at gmail.com>
> wrote:
>
> > AVFrame.data[0] is not guaranteed to be set with a HWAccel
> > ---
> > libavcodec/vp9.c | 46 +++++++++++++++++++++++-----------------------
> > 1 file changed, 23 insertions(+), 23 deletions(-)
>
>
> Obscure. But OK. Is this documented in the AVFrame API?
It kind of follows from its documentation. Nothing says that data[0]
has to be set, while buf[0] _must_ be set if the frame is refcounted.
More information about the ffmpeg-devel
mailing list