[vlc-commits] vda: fix unused variable warnings
Tristan Matthews
git at videolan.org
Thu Oct 20 16:03:16 CEST 2016
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Thu Oct 20 09:41:26 2016 -0400| [0349d87e2aeb2e37d332306e6dbe2111c7173fec] | committer: Tristan Matthews
vda: fix unused variable warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0349d87e2aeb2e37d332306e6dbe2111c7173fec
---
modules/codec/avcodec/vda.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/vda.c b/modules/codec/avcodec/vda.c
index 30cbcd5..270eb21 100644
--- a/modules/codec/avcodec/vda.c
+++ b/modules/codec/avcodec/vda.c
@@ -58,6 +58,7 @@ static void copy420YpCbCr8Planar(picture_t *p_pic,
{
uint8_t *pp_plane[2];
size_t pi_pitch[2];
+ VLC_UNUSED(i_width);
if (!buffer)
return;
@@ -102,8 +103,6 @@ static int Open(vlc_va_t *va,
(void) fmt;
(void) p_sys;
- size_t i_profile = 0xFFFF, i_level = 0xFFFF;
-
switch (avctx->codec_id) {
case AV_CODEC_ID_H264:
msg_Dbg( va, "trying to decode MPEG-4 Part 10: profile %d, level %d", avctx->profile, avctx->level);
More information about the vlc-commits
mailing list