Commit 13c4e46c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vaapi: remove stray setup error case

parent a8919763
...@@ -189,11 +189,6 @@ static void Release( void *opaque, uint8_t *data ) ...@@ -189,11 +189,6 @@ static void Release( void *opaque, uint8_t *data )
static int Setup( vlc_va_t *va, AVCodecContext *avctx, vlc_fourcc_t *pi_chroma ) static int Setup( vlc_va_t *va, AVCodecContext *avctx, vlc_fourcc_t *pi_chroma )
{ {
vlc_va_sys_t *sys = va->sys;
if (sys->width != avctx->coded_width || sys->height != avctx->coded_height)
return VLC_EGENERIC;
*pi_chroma = VLC_CODEC_YV12; *pi_chroma = VLC_CODEC_YV12;
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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