vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Dec 10 
17:18:55 2012 +0100| [f7579bc4278d50f78495728d7a11604d6faa2b41] | committer: 
Jean-Baptiste Kempf

v4l2: fix compilation if zvbi is not present

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

 modules/access/v4l2/demux.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index d292d3e..c381616 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -82,7 +82,9 @@ int DemuxOpen( vlc_object_t *obj )
     if (unlikely(sys == NULL))
         return VLC_ENOMEM;
     demux->p_sys = sys;
+#ifdef ZVBI_COMPILED
     sys->vbi_cap = NULL;
+#endif
 
     ParseMRL( obj, demux->psz_location );
 

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

Reply via email to