vlc | branch: master | Thomas Guillem <[email protected]> | Fri Jan 20 16:05:31 
2017 +0100| [df9f7fdcb08f409e6e8bbe1d85dcb557de8590c7] | committer: Thomas 
Guillem

videotoolbox: remove useless check

This case can't happen

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

 modules/codec/videotoolbox.m | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 39ef1df..30efd1a 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1064,10 +1064,6 @@ static picture_t *DecodeBlock(decoder_t *p_dec, block_t 
**pp_block)
         goto skip;
     }
 
-    /* feed to vt */
-    if (unlikely(!p_block->i_buffer))
-        goto skip;
-
     if (!p_sys->session) {
         /* decoding didn't start yet, which is ok for H264, let's see
          * if we can use this block to get going */

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

Reply via email to