changeset 1059:172781cd7c9d libavformat

move declaration to mov.h
author bcoudurier
date Wed, 19 Apr 2006 10:02:41 +0000
parents d5efc69f27c6
children ede2bcaaf9e7
files mov.c mov.h movenc.c
diffstat 3 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sat Apr 15 15:05:53 2006 +0000
+++ b/mov.c	Wed Apr 19 10:02:41 2006 +0000
@@ -382,7 +382,6 @@
     return 1;
 }
 
-extern int ff_mov_iso639_to_lang(const char *lang, int mp4); /* for movenc.c */
 int ff_mov_iso639_to_lang(const char *lang, int mp4)
 {
     int i, code = 0;
--- a/mov.h	Sat Apr 15 15:05:53 2006 +0000
+++ b/mov.h	Wed Apr 19 10:02:41 2006 +0000
@@ -3,6 +3,7 @@
 
 /* mov.c */
 extern const CodecTag ff_mov_obj_type[];
+extern int ff_mov_iso639_to_lang(const char *lang, int mp4);
 
 typedef struct Time2Sample{
     int count;
--- a/movenc.c	Sat Apr 15 15:05:53 2006 +0000
+++ b/movenc.c	Wed Apr 19 10:02:41 2006 +0000
@@ -76,9 +76,6 @@
 
 static int mov_write_esds_tag(ByteIOContext *pb, MOVTrack* track);
 
-/* output language code from iso639 language name */
-extern int ff_mov_iso639_to_lang(const char *lang, int mp4);
-
 //FIXME supprt 64bit varaint with wide placeholders
 static offset_t updateSize (ByteIOContext *pb, offset_t pos)
 {