summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/mov.c1
-rw-r--r--libavformat/mov.h1
-rw-r--r--libavformat/movenc.c3
3 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 6863f39250..b503d2ccf5 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -382,7 +382,6 @@ static int ff_mov_lang_to_iso639(int code, char *to)
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;
diff --git a/libavformat/mov.h b/libavformat/mov.h
index e7a999b56a..8b87c41afa 100644
--- a/libavformat/mov.h
+++ b/libavformat/mov.h
@@ -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;
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index af007ba8cc..f59ea250d7 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -76,9 +76,6 @@ typedef struct MOVContext {
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)
{