Merge branch 'mirror' into vdpau
[FFMpeg-mirror/ffmpeg-vdpau.git] / libavformat / isom.h
blob2fb4dbf2d35c5fb46ecb0eb79a1640a174781fc7
1 /*
2 * ISO Media common code
3 * copyright (c) 2001 Fabrice Bellard.
4 * copyright (c) 2002 Francois Revol <revol@free.fr>
5 * copyright (c) 2006 Baptiste Coudurier <baptiste.coudurier@free.fr>
7 * This file is part of FFmpeg.
9 * FFmpeg is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * FFmpeg is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with FFmpeg; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #ifndef AVFORMAT_ISOM_H
25 #define AVFORMAT_ISOM_H
27 #include "riff.h"
29 /* isom.c */
30 extern const AVCodecTag ff_mp4_obj_type[];
31 extern const AVCodecTag codec_movvideo_tags[];
32 extern const AVCodecTag codec_movaudio_tags[];
33 extern const AVCodecTag ff_codec_movsubtitle_tags[];
35 int ff_mov_iso639_to_lang(const char *lang, int mp4);
36 int ff_mov_lang_to_iso639(int code, char *to);
38 typedef struct {
39 int count;
40 int duration;
41 } MOV_stts_t;
43 #endif /* AVFORMAT_ISOM_H */