From: nu774 Date: Fri, 18 Oct 2013 13:11:09 +0000 (+0900) Subject: set avgBitrate field to zero for 14496-1 compliance X-Git-Tag: v0.3.1~2 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=fe2d3aa3e75ea2809de56cb55344b05ac65a8b5e;p=fdkaac.git set avgBitrate field to zero for 14496-1 compliance --- diff --git a/src/m4af.c b/src/m4af.c index 9b355c2..11650f3 100644 --- a/src/m4af.c +++ b/src/m4af.c @@ -771,7 +771,11 @@ void m4af_write_esds_box(m4af_ctx_t *ctx, uint32_t track_idx) , 2); m4af_write24(ctx, track->bufferSizeDB); m4af_write32(ctx, track->maxBitrate); +#if 0 m4af_write32(ctx, track->avgBitrate); +#else + m4af_write32(ctx, 0); +#endif /* DecoderSpecificInfo */ m4af_write_descriptor(ctx, 5, track->decSpecificInfoSize); m4af_write(ctx, track->decSpecificInfo, track->decSpecificInfoSize);