# HG changeset patch # User aurel # Date 1234225662 0 # Node ID fc705c33843f2f52de0e6a5368ce4a2bad30535b # Parent 4d45ef755d67b40c819deb366434a941cd108cd2 remove now useless av_set_program_name() function diff -r 4d45ef755d67 -r fc705c33843f internal.h --- a/internal.h Tue Feb 10 00:25:21 2009 +0000 +++ b/internal.h Tue Feb 10 00:27:42 2009 +0000 @@ -26,7 +26,6 @@ char *ff_data_to_hex(char *buf, const uint8_t *src, int size); -void av_set_program_name(AVProgram *program, char *provider_name, char *name); void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); /** diff -r 4d45ef755d67 -r fc705c33843f utils.c --- 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;