set avgBitrate field to zero for 14496-1 compliance
[fdkaac.git] / src / m4af.c
index 9b355c2702d3cfef8d3a1d78902fccf44b428a42..11650f352525271d2f9f631e50283f55b3eae5fc 100644 (file)
@@ -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);
This page took 0.00924 seconds and 4 git commands to generate.