diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-23 16:09:30 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-23 16:09:30 +0000 |
commit | f1fbca4bdd35b7ceb636dac0b979fa1acca9e609 (patch) | |
tree | c04e7a27a93c5e0600527963875dc00590c177e3 /stream/tvi_def.h | |
parent | ffac6ce7eba3dea5878f3eb482a11e9ab7606455 (diff) | |
download | mpv-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.h | 3 |
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); } } |