00001 /* 00002 * ISO Media common code 00003 * copyright (c) 2001 Fabrice Bellard 00004 * copyright (c) 2002 Francois Revol <revol@free.fr> 00005 * copyright (c) 2006 Baptiste Coudurier <baptiste.coudurier@free.fr> 00006 * 00007 * This file is part of FFmpeg. 00008 * 00009 * FFmpeg is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 2.1 of the License, or (at your option) any later version. 00013 * 00014 * FFmpeg is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with FFmpeg; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 */ 00023 00024 #ifndef AVFORMAT_ISOM_H 00025 #define AVFORMAT_ISOM_H 00026 00027 #include "riff.h" 00028 00029 /* isom.c */ 00030 extern const AVCodecTag ff_mp4_obj_type[]; 00031 extern const AVCodecTag codec_movvideo_tags[]; 00032 extern const AVCodecTag codec_movaudio_tags[]; 00033 extern const AVCodecTag ff_codec_movsubtitle_tags[]; 00034 00035 int ff_mov_iso639_to_lang(const char *lang, int mp4); 00036 int ff_mov_lang_to_iso639(unsigned code, char *to); 00037 00038 typedef struct { 00039 int count; 00040 int duration; 00041 } MOVStts; 00042 00043 #endif /* AVFORMAT_ISOM_H */