]> iEval git - fdkaac.git/commitdiff
fixed bogus sgpd written on --gapless-mode=1 and 2
authornu774 <honeycomb77@gmail.com>
Tue, 22 Oct 2013 10:31:14 +0000 (19:31 +0900)
committernu774 <honeycomb77@gmail.com>
Tue, 22 Oct 2013 10:49:01 +0000 (19:49 +0900)
src/m4af.c

index 931d5fe1e7bccc4259c4a4cfce05d095f3c10748..261ce7192969aa1c6374ac70197b530268f84483 100644 (file)
@@ -866,15 +866,14 @@ void m4af_write_sgpd_box(m4af_ctx_t *ctx, uint32_t track_idx)
 {
     m4af_track_t *track = &ctx->track[track_idx];
     m4af_write(ctx,
-               "\0\0\0\032"  /* size               */
+               "\0\0\0\026"  /* size: 22           */
                "sgpd"        /* type               */
-               "\001"        /* version            */
+               "\0"          /* version            */
                "\0\0\0"      /* flags              */
                "roll"        /* grouping_type      */
-               "\0\0\0\002"  /* default_length: 2  */
                "\0\0\0\001"  /* entry_count: 1     */
                "\377\377"    /* payload_data: -1   */
-               , 26);
+               , 22);
 }
 
 static
This page took 0.018544 seconds and 4 git commands to generate.