From 1c90d2985d5f4ca5dd74459712109b7438e4c9bf Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sat, 30 Jan 2010 21:54:06 +0000 Subject: Always consider the mov language code as 4 bytes fixed size and change the function declaration to reflect this. Originally committed as revision 21558 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/isom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/isom.h') diff --git a/libavformat/isom.h b/libavformat/isom.h index c8141f13cd..2661e8d620 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -34,8 +34,8 @@ extern const AVCodecTag codec_movvideo_tags[]; extern const AVCodecTag codec_movaudio_tags[]; extern const AVCodecTag ff_codec_movsubtitle_tags[]; -int ff_mov_iso639_to_lang(const char *lang, int mp4); -int ff_mov_lang_to_iso639(unsigned code, char *to); +int ff_mov_iso639_to_lang(const char lang[4], int mp4); +int ff_mov_lang_to_iso639(unsigned code, char to[4]); /* the QuickTime file format is quite convoluted... * it has lots of index tables, each indexing something in another one... -- cgit v1.2.3