summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-02-10 00:27:42 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-02-10 00:27:42 +0000
commit949cd9783b9b6c868e360f0cd62f08d264fa13cc (patch)
tree396fab14b405613848cb6d060f383bd36f34652d /libavformat/utils.c
parent086811910650e73a08bfb34fc7259e6f605bbf2f (diff)
remove now useless av_set_program_name() function
Originally committed as revision 17113 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 417a7e35e8..7e8398be12 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2354,17 +2354,6 @@ AVProgram *av_new_program(AVFormatContext *ac, int id)
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;