[FFmpeg-devel] [PATCH] Document and validate AVFrame plane pointers.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Feb 26 22:21:57 CET 2016


On Fri, Feb 26, 2016 at 06:13:04PM +0000, Derek Buitenhuis wrote:
> On 2/26/2016 5:42 PM, Reimar Döffinger wrote:
> > +        av_assert0(frame->format == avctx->pix_fmt);
> 
> Is this valid? Mid-stream colorspace changes are fairly common.

I believed we enforce a sequence point (i.e. we make sure
to finish everything, free all resources and then continue)
when such a change happens.
However going by the documentation the get_buffer2 API
at least allows them to differ, so I'll remove it.


More information about the ffmpeg-devel mailing list