Commit 2cdf4fe1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

VideoToolbox: fix wrong function type check

parent 43cb94a0
......@@ -1125,7 +1125,7 @@ skip:
if (imageBuffer != NULL) {
if (CVPixelBufferGetDataSize(imageBuffer) > 0) {
if (decoder_UpdateVideoFormat(p_dec) == NULL)
if (decoder_UpdateVideoFormat(p_dec))
return NULL;
p_pic = decoder_NewPicture(p_dec);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment