[vlc-commits] videotoolbox: remove unused variables

Thomas Guillem git at videolan.org
Wed Jul 29 18:38:48 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 29 18:36:08 2015 +0200| [deb4ea2e73c23c8577bc8e19473bdc5ec0738624] | committer: Thomas Guillem

videotoolbox: remove unused variables

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

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

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 2e971b8..b2a250f 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -728,8 +728,6 @@ static bool H264ProcessBlock(decoder_t *p_dec, block_t *p_block)
     if (p_sys->b_is_avcc)
         return true;
 
-    int buf_size = p_dec->fmt_in.i_extra + 20;
-    uint32_t size = p_dec->fmt_in.i_extra;
     uint8_t *p_sps_buf = NULL, *p_pps_buf = NULL;
     size_t i_sps_size = 0, i_pps_size = 0;
     int i_ret = 0;



More information about the vlc-commits mailing list