[vlc-commits] vaapi: remove unused variable
Jean-Yves Avenard
git at videolan.org
Sat Jun 14 13:03:12 CEST 2014
vlc | branch: master | Jean-Yves Avenard <jyavenard at mythtv.org> | Fri Jun 13 11:02:36 2014 +0000| [4f3f133ac39705972fec3791688980899a146370] | committer: Jean-Baptiste Kempf
vaapi: remove unused variable
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f3f133ac39705972fec3791688980899a146370
---
modules/codec/avcodec/vaapi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index 746a6fc..017c995 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -352,7 +352,6 @@ static int CreateSurfaces( vlc_va_sys_t *sys, void **pp_hw_ctx, vlc_fourcc_t *pi
}
vlc_fourcc_t i_chroma = 0;
- VAImageFormat fmt;
for( int i = 0; i < i_fmt_count; i++ )
{
if( p_fmt[i].fourcc == VA_FOURCC( 'Y', 'V', '1', '2' ) ||
@@ -375,7 +374,6 @@ static int CreateSurfaces( vlc_va_sys_t *sys, void **pp_hw_ctx, vlc_fourcc_t *pi
}
i_chroma = VLC_CODEC_YV12;
- fmt = p_fmt[i];
break;
}
}
More information about the vlc-commits
mailing list