mirror of
https://github.com/nu774/fdkaac.git
synced 2025-06-05 23:29:14 +02:00
fixed bogus sgpd written on --gapless-mode=1 and 2
This commit is contained in:
@@ -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_track_t *track = &ctx->track[track_idx];
|
||||||
m4af_write(ctx,
|
m4af_write(ctx,
|
||||||
"\0\0\0\032" /* size */
|
"\0\0\0\026" /* size: 22 */
|
||||||
"sgpd" /* type */
|
"sgpd" /* type */
|
||||||
"\001" /* version */
|
"\0" /* version */
|
||||||
"\0\0\0" /* flags */
|
"\0\0\0" /* flags */
|
||||||
"roll" /* grouping_type */
|
"roll" /* grouping_type */
|
||||||
"\0\0\0\002" /* default_length: 2 */
|
|
||||||
"\0\0\0\001" /* entry_count: 1 */
|
"\0\0\0\001" /* entry_count: 1 */
|
||||||
"\377\377" /* payload_data: -1 */
|
"\377\377" /* payload_data: -1 */
|
||||||
, 26);
|
, 22);
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
Reference in New Issue
Block a user