vda: error out if decoded CVPixelBuffer is empty
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Mon, 29 Dec 2014 20:28:50 +0000 (21:28 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 5 Jan 2015 14:35:39 +0000 (15:35 +0100)
commit2cef68da69a17ed09c313ba3c3850ec1cc0a80e0
tree6a07e94024e3564d92f5816c0ec0f69b16b62cde
parent0352ff102d62ee94e79e0baaf64d5ad4e66f907b
vda: error out if decoded CVPixelBuffer is empty

On some video samples, VDA silently fails to decode frames and returns
kVDADecoderNoErr. Error out in these cases to avoid producing AVFrames with
empty planes.

Signed-off-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
libavcodec/vda_h264.c