[FFmpeg-devel] [PATCH 2/2] avcodec/utils: Check that the video data[] arrays are NULL on the input to get_buffer_internal()

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Feb 26 13:07:54 CET 2016


On Fri, Feb 26, 2016 at 12:59:08PM +0100, Michael Niedermayer wrote:
> This should return an error to the decoder if the struct it tried to getbuffer is dirty

It seems like a good idea, however it likely won't help
for programs providing their own getbuffer2 as they will
probably fill the data[] fields from their own shadow
structures, which this check will not discover.


More information about the ffmpeg-devel mailing list