diff options
Diffstat (limited to 'stream/tvi_def.h')
-rw-r--r-- | stream/tvi_def.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h index 2c35160473..b0fd24e130 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -45,29 +45,6 @@ static const tvi_functions_t functions = get_audio_framesize }; -static tvi_handle_t *new_handle(void) -{ - tvi_handle_t *h = malloc(sizeof(*h)); - - if (!h) - return NULL; - h->priv = calloc(1, sizeof(priv_t)); - if (!h->priv) - { - free(h); - return NULL; - } - - h->functions = &functions; - h->seq = 0; - h->chanlist = -1; - h->chanlist_s = NULL; - h->norm = -1; - h->channel = -1; - h->scan = NULL; - return h; -} - /** Fills video frame in given buffer with blue color for yv12,i420,uyvy,yuy2. Other formats will be filled with 0xC0 |