vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Nov 21 
17:48:41 2016 +0100| [2cdf4fe167d563c12da9695a95ae2d469567f2c1] | committer: 
Jean-Baptiste Kempf

VideoToolbox: fix wrong function type check

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cdf4fe167d563c12da9695a95ae2d469567f2c1
---

 modules/codec/videotoolbox.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 92cd82f..54a42ba 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -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);
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to