[vlc-commits] vda: remove write-only parameter

Rémi Denis-Courmont git at videolan.org
Sat Sep 13 13:26:50 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 13 13:46:32 2014 +0300| [4af52d5e277c4fdb1b6fd1eccb53d19f81f9349c] | committer: Rémi Denis-Courmont

vda: remove write-only parameter

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

 modules/codec/avcodec/vda.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/codec/avcodec/vda.c b/modules/codec/avcodec/vda.c
index 61a36f2..f45369e 100644
--- a/modules/codec/avcodec/vda.c
+++ b/modules/codec/avcodec/vda.c
@@ -329,8 +329,6 @@ vlc_module_end ()
 
 struct vlc_va_sys_t
 {
-    // to free the hwaccel
-    AVCodecContext      *avctx;
     vlc_object_t        *p_log;
 };
 
@@ -352,7 +350,6 @@ static int Open( vlc_va_t *external, AVCodecContext *avctx,
         return VLC_EGENERIC;
     }
     p_va->p_log = VLC_OBJECT(external);
-    p_va->avctx = avctx;
 
     external->sys = p_va;
     external->description = (char *)"VDA";



More information about the vlc-commits mailing list