[vlc-commits] vaapi: remove stray setup error case
Rémi Denis-Courmont
git at videolan.org
Sun Sep 27 21:57:46 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 27 15:47:39 2015 +0300| [13c4e46c9d1873123cc2ba53b3a09d2049f68ca9] | committer: Rémi Denis-Courmont
vaapi: remove stray setup error case
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13c4e46c9d1873123cc2ba53b3a09d2049f68ca9
---
modules/codec/avcodec/vaapi.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index 4683648..d21809d 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -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 )
{
- 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;
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list