[vlc-commits] videotoolbox: compilation fix

Felix Paul Kühne git at videolan.org
Thu Dec 10 12:12:25 CET 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Dec 10 12:11:22 2015 +0100| [8d2778cff3bfa007f45d7690766d1919cbf330d4] | committer: Felix Paul Kühne

videotoolbox: compilation fix

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

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

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 780aa2c..1764781 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -316,7 +316,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block)
                                                       p_dec->fmt_in.i_extra,
                                                       &i_buf,
                                                       &p_sys->i_nal_length_size);
-                buf = p_alloc_buf;
+                p_buf = p_alloc_buf;
                 p_sys->b_is_avcc = !!p_buf;
             }
         } else {



More information about the vlc-commits mailing list