Commit 4f3f133a authored by Jean-Yves Avenard's avatar Jean-Yves Avenard Committed by Jean-Baptiste Kempf

vaapi: remove unused variable

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2209e091
...@@ -352,7 +352,6 @@ static int CreateSurfaces( vlc_va_sys_t *sys, void **pp_hw_ctx, vlc_fourcc_t *pi ...@@ -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; vlc_fourcc_t i_chroma = 0;
VAImageFormat fmt;
for( int i = 0; i < i_fmt_count; i++ ) for( int i = 0; i < i_fmt_count; i++ )
{ {
if( p_fmt[i].fourcc == VA_FOURCC( 'Y', 'V', '1', '2' ) || 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 ...@@ -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; i_chroma = VLC_CODEC_YV12;
fmt = p_fmt[i];
break; break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment