X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fisom.h;h=2990c9ce82d72eb346ba558687c4aa7da44d91af;hb=2afd30bf7ab098f7471d851dc5f7a9adad43d35a;hp=6c6ad5459f4004dc63da7dc0f23c7eaa96d46c13;hpb=dc2cabd003d264644926b3b4326ed3792405f953;p=ffmpeg diff --git a/libavformat/isom.h b/libavformat/isom.h index 6c6ad5459f4..2990c9ce82d 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -142,6 +142,14 @@ typedef struct MOVContext { } MOVContext; int ff_mp4_read_descr_len(ByteIOContext *pb); +int ff_mp4_read_descr(AVFormatContext *fc, ByteIOContext *pb, int *tag); +int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, ByteIOContext *pb); + +#define MP4IODescrTag 0x02 +#define MP4ESDescrTag 0x03 +#define MP4DecConfigDescrTag 0x04 +#define MP4DecSpecificDescrTag 0x05 + int ff_mov_read_esds(AVFormatContext *fc, ByteIOContext *pb, MOVAtom atom); enum CodecID ff_mov_get_lpcm_codec_id(int bps, int flags);