[vlc-commits] videotoolbox: remove imageBuffer assert
Thomas Guillem
git at videolan.org
Mon Mar 5 09:28:58 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Mar 2 17:16:57 2018 +0100| [efd93de7642513128dfe68faddd560aa0b09001d] | committer: Thomas Guillem
videotoolbox: remove imageBuffer assert
Since this case can finally happen.
(cherry picked from commit 89b96cdadfea8d8ed3095238f811dc5865950052)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=efd93de7642513128dfe68faddd560aa0b09001d
---
modules/codec/videotoolbox.m | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 55405d15ab..4f09ffb240 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -2107,7 +2107,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