isom.h 1.4 KB

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