[vlc-commits] videotoolbox: remove write-only variable

David Fuhrmann git at videolan.org
Sat Dec 5 16:18:29 CET 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Dec  5 16:13:40 2015 +0100| [657705900ee01a8ae959d9fbaa88861519947119] | committer: David Fuhrmann

videotoolbox: remove write-only variable

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

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

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 415052d..61d86e8 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -308,7 +308,6 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block)
 
         if (p_block == NULL) {
             int buf_size = p_dec->fmt_in.i_extra + 20;
-            uint32_t i_nal_size = 0;
             size = p_dec->fmt_in.i_extra;
 
             p_alloc_buf = p_buf = malloc(buf_size);



More information about the vlc-commits mailing list