X-Git-Url: http://git.ieval.ro/?p=fdkaac.git;a=blobdiff_plain;f=src%2Fm4af.c;h=7f3b180a46fe093bd1cf80b51239d99eb2db4182;hp=1c51c00357870a4ccf1264750111ba89aaf99d2b;hb=9b7e1ca68c3a594f6657ad1d3d151cd74b3e0228;hpb=f75c9c7b3e90df13b91f3de94c6374c58e4c3d52 diff --git a/src/m4af.c b/src/m4af.c index 1c51c00..7f3b180 100644 --- a/src/m4af.c +++ b/src/m4af.c @@ -39,6 +39,14 @@ typedef struct m4af_chunk_entry_t { uint32_t duration; } m4af_chunk_entry_t; +typedef struct m4af_itmf_entry_t { + uint32_t fcc; + char *name; + uint32_t type_code; + char *data; + uint32_t data_size; +} m4af_itmf_entry_t; + typedef struct m4af_track_t { uint32_t codec; uint32_t timescale; @@ -1374,7 +1382,6 @@ uint64_t m4af_patch_moov(m4af_ctx_t *ctx, uint32_t moov_size, uint32_t offset) static void m4af_shift_mdat_pos(m4af_ctx_t *ctx, uint32_t offset) { - unsigned i, j; int64_t begin, end; char *buf;