vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 19 15:14:44 
2019 +0200| [3f0ba8a06bf3d02e8f2e7f4c02c8b70877e7020a] | committer: Steve Lhomme

avcodec: vaapi: remove bogus unused mark

The fmt is used to get the decoder profile.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f0ba8a06bf3d02e8f2e7f4c02c8b70877e7020a
---

 modules/codec/avcodec/vaapi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index a9eddd5bfb..730b788372 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -151,7 +151,6 @@ static int Create(vlc_va_t *va, AVCodecContext *ctx, enum 
PixelFormat pix_fmt,
     if (pix_fmt != AV_PIX_FMT_VAAPI_VLD || p_sys == NULL)
         return VLC_EGENERIC;
 
-    (void) fmt;
     vlc_object_t *o = VLC_OBJECT(va);
 
     int ret = VLC_EGENERIC;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to