Mercurial > libavformat.hg
diff utils.c @ 4428:fc705c33843f libavformat
remove now useless av_set_program_name() function
author | aurel |
---|---|
date | Tue, 10 Feb 2009 00:27:42 +0000 |
parents | 14797a347fcb |
children | f6b8d1584348 |
line wrap: on
line diff
--- a/utils.c Tue Feb 10 00:25:21 2009 +0000 +++ b/utils.c Tue Feb 10 00:27:42 2009 +0000 @@ -2354,17 +2354,6 @@ return program; } -void av_set_program_name(AVProgram *program, char *provider_name, char *name) -{ - assert(!provider_name == !name); - if(name){ - av_free(program->provider_name); - av_free(program-> name); - program->provider_name = av_strdup(provider_name); - program-> name = av_strdup( name); - } -} - AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, int64_t start, int64_t end, const char *title) { AVChapter *chapter = NULL;