[vlc-commits] v4l2: fix compilation if zvbi is not present
Jean-Baptiste Kempf
git at videolan.org
Mon Dec 10 17:19:35 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | 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 );
More information about the vlc-commits
mailing list