avcodec/utils: Check that the video data[] arrays are NULL on the input to get_buffer...
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 26 Feb 2016 11:59:08 +0000 (12:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 Feb 2016 12:11:52 +0000 (13:11 +0100)
commitd39b770aa27687da3b799252e614caa8b8686c13
treef8b332a0629982ae28f4a0ee39bbf11687a0a104
parentbdf7093bd0cb78d39df8a32cfdc9188d7a960278
avcodec/utils: Check that the video data[] arrays are NULL on the input to get_buffer_internal()

This should return an error to the decoder if the struct it tried to getbuffer is dirty

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utils.c