[vlc-commits] avcodec: remove dead code
Rémi Denis-Courmont
git at videolan.org
Fri Oct 12 10:38:15 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 10 18:41:34 2012 +0300| [a294d6af04da83c1ba542448f2cd9cc5271b27c9] | committer: Rémi Denis-Courmont
avcodec: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a294d6af04da83c1ba542448f2cd9cc5271b27c9
---
modules/codec/avcodec/vaapi.c | 7 -------
modules/codec/avcodec/vda.c | 10 ----------
2 files changed, 17 deletions(-)
diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index d98e041..cc7eaca 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -534,11 +534,4 @@ vlc_va_t *vlc_va_NewVaapi( vlc_object_t *obj, int i_codec_id )
p_va->va.close = Delete;
return &p_va->va;
}
-#else
-vlc_va_t *vlc_va_NewVaapi( vlc_object_t *obj, int i_codec_id )
-{
- VLC_UNUSED( obj );
- VLC_UNUSED( i_codec_id );
- return NULL;
-}
#endif
diff --git a/modules/codec/avcodec/vda.c b/modules/codec/avcodec/vda.c
index 8f04b8e..c8c0873 100644
--- a/modules/codec/avcodec/vda.c
+++ b/modules/codec/avcodec/vda.c
@@ -269,14 +269,4 @@ vlc_va_t *vlc_va_NewVDA( vlc_object_t *p_log, int i_codec_id, void *p_extra, int
return &p_va->va;
}
-
-#else
-vlc_va_t *vlc_va_NewVDA( vlc_object_t *p_log, int i_codec_id, void *p_extra, int i_extra )
-{
- VLC_UNUSED( p_log );
- VLC_UNUSED( i_codec_id );
- VLC_UNUSED( p_extra );
- VLC_UNUSED( i_extra );
- return NULL;
-}
#endif
More information about the vlc-commits
mailing list