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 AVFORMAT_ISOM_H
25#define AVFORMAT_ISOM_H
26
27#include "riff.h"
28
29/* isom.c */
30extern const AVCodecTag ff_mp4_obj_type[];
31extern const AVCodecTag codec_movvideo_tags[];
32extern const AVCodecTag codec_movaudio_tags[];
33extern const AVCodecTag ff_codec_movsubtitle_tags[];
34
35int ff_mov_iso639_to_lang(const char *lang, int mp4);
36int ff_mov_lang_to_iso639(unsigned code, char *to);
37
38typedef struct {
39    int count;
40    int duration;
41} MOVStts;
42
43#endif /* AVFORMAT_ISOM_H */
44