[vlc-commits] va_surface: remove unused parameter

Steve Lhomme git at videolan.org
Fri Oct 18 14:57:41 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Oct 18 14:57:31 2019 +0200| [c23810953a4053f1614f4b5d19c2b3f547dbabfb] | committer: Steve Lhomme

va_surface: remove unused parameter

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

 modules/codec/avcodec/va_surface.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/codec/avcodec/va_surface.c b/modules/codec/avcodec/va_surface.c
index 13161634b7..bf6cb55f55 100644
--- a/modules/codec/avcodec/va_surface.c
+++ b/modules/codec/avcodec/va_surface.c
@@ -66,7 +66,7 @@ static void ReleasePoolSurfaces(va_pool_t *va_pool)
     va_pool->surface_count = 0;
 }
 
-static int SetupSurfaces(vlc_va_t *, va_pool_t *);
+static int SetupSurfaces(va_pool_t *);
 
 /* */
 int va_pool_SetupDecoder(vlc_va_t *va, va_pool_t *va_pool, const AVCodecContext *avctx,
@@ -102,12 +102,12 @@ int va_pool_SetupDecoder(vlc_va_t *va, va_pool_t *va_pool, const AVCodecContext
 
 done:
     if (err == VLC_SUCCESS)
-        err = SetupSurfaces(va, va_pool);
+        err = SetupSurfaces(va_pool);
 
     return err;
 }
 
-static int SetupSurfaces(vlc_va_t *va, va_pool_t *va_pool)
+static int SetupSurfaces(va_pool_t *va_pool)
 {
     int err = VLC_ENOMEM;
 



More information about the vlc-commits mailing list