]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blob - libavformat/isom.h
include all prerequisites in header files
[frescor/ffmpeg.git] / libavformat / isom.h
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>
6  *
7  * This file is part of FFmpeg.
8  *
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.
13  *
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.
18  *
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
22  */
23
24 #ifndef FFMPEG_ISOM_H
25 #define FFMPEG_ISOM_H
26
27 #include "riff.h"
28
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
34 int ff_mov_iso639_to_lang(const char *lang, int mp4);
35 int ff_mov_lang_to_iso639(int code, char *to);
36
37 typedef struct {
38     int count;
39     int duration;
40 } MOV_stts_t;
41
42 #endif /* FFMPEG_ISOM_H */