[vlc-commits] videotoolbox: remove imageBuffer assert
Thomas Guillem
git at videolan.org
Fri Mar 2 17:22:35 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Mar 2 17:16:57 2018 +0100| [89b96cdadfea8d8ed3095238f811dc5865950052] | committer: Thomas Guillem
videotoolbox: remove imageBuffer assert
Since this case can finally happen.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89b96cdadfea8d8ed3095238f811dc5865950052
---
modules/codec/videotoolbox.m | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index d16e11aadb..9e1d1578df 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -2106,7 +2106,6 @@ static void DecoderCallback(void *decompressionOutputRefCon,
p_sys->vtsession_status = vtsession_status;
goto end;
}
- assert(imageBuffer);
if (unlikely(!imageBuffer))
{
msg_Err(p_dec, "critical: null imageBuffer with a valid status");
More information about the vlc-commits
mailing list