[FFmpeg-cvslog] r17113 - in trunk/libavformat: internal.h utils.c

aurel subversion
Tue Feb 10 01:27:42 CET 2009


Author: aurel
Date: Tue Feb 10 01:27:42 2009
New Revision: 17113

Log:
remove now useless av_set_program_name() function

Modified:
   trunk/libavformat/internal.h
   trunk/libavformat/utils.c

Modified: trunk/libavformat/internal.h
==============================================================================
--- trunk/libavformat/internal.h	Tue Feb 10 01:25:21 2009	(r17112)
+++ trunk/libavformat/internal.h	Tue Feb 10 01:27:42 2009	(r17113)
@@ -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);
 
 /**

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Tue Feb 10 01:25:21 2009	(r17112)
+++ trunk/libavformat/utils.c	Tue Feb 10 01:27:42 2009	(r17113)
@@ -2354,17 +2354,6 @@ AVProgram *av_new_program(AVFormatContex
     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;




More information about the ffmpeg-cvslog mailing list