]> iEval git - fdkaac.git/commitdiff
set avgBitrate field to zero for 14496-1 compliance
authornu774 <honeycomb77@gmail.com>
Fri, 18 Oct 2013 13:11:09 +0000 (22:11 +0900)
committernu774 <honeycomb77@gmail.com>
Fri, 18 Oct 2013 13:11:09 +0000 (22:11 +0900)
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.024089 seconds and 4 git commands to generate.