From f1fbca4bdd35b7ceb636dac0b979fa1acca9e609 Mon Sep 17 00:00:00 2001 From: voroshil Date: Thu, 23 Aug 2007 16:09:30 +0000 Subject: 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 --- stream/tvi_def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stream/tvi_def.h') 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); } } -- cgit v1.2.3