summaryrefslogtreecommitdiffstats
path: root/stream/tvi_def.h
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-23 16:09:30 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-23 16:09:30 +0000
commitf1fbca4bdd35b7ceb636dac0b979fa1acca9e609 (patch)
treec04e7a27a93c5e0600527963875dc00590c177e3 /stream/tvi_def.h
parentffac6ce7eba3dea5878f3eb482a11e9ab7606455 (diff)
downloadmpv-f1fbca4bdd35b7ceb636dac0b979fa1acca9e609.tar.bz2
mpv-f1fbca4bdd35b7ceb636dac0b979fa1acca9e609.tar.xz
Automatic TV channels scanning ability for MPlayer.
Code is based on patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_def.h')
-rw-r--r--stream/tvi_def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h
index 6dff1c8924..c47b0dfe36 100644
--- a/stream/tvi_def.h
+++ b/stream/tvi_def.h
@@ -43,6 +43,7 @@ static tvi_handle_t *new_handle(void)
h->chanlist_s = NULL;
h->norm = -1;
h->channel = -1;
+ h->scan = NULL;
return(h);
}
@@ -51,6 +52,8 @@ static void free_handle(tvi_handle_t *h)
if (h) {
if (h->priv)
free(h->priv);
+ if (h->scan)
+ free(h->scan);
free(h);
}
}