From: nu774 Date: Tue, 29 Oct 2013 10:35:57 +0000 (+0900) Subject: fix unused variable warning X-Git-Tag: v0.4.2~7 X-Git-Url: http://git.ieval.ro/?p=fdkaac.git;a=commitdiff_plain;h=d11b0441317d05811b30490b778d1051bafb2570 fix unused variable warning --- diff --git a/src/m4af.c b/src/m4af.c index 261ce71..bdcae5f 100644 --- a/src/m4af.c +++ b/src/m4af.c @@ -864,7 +864,6 @@ void m4af_write_sbgp_box(m4af_ctx_t *ctx, uint32_t track_idx) static 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\026" /* size: 22 */ "sgpd" /* type */ @@ -1050,7 +1049,6 @@ void m4af_write_elst_box(m4af_ctx_t *ctx, uint32_t track_idx) static void m4af_write_edts_box(m4af_ctx_t *ctx, uint32_t track_idx) { - m4af_track_t *track = &ctx->track[track_idx]; int64_t pos = m4af_tell(ctx); m4af_write(ctx, "\0\0\0\0edts", 8); m4af_write_elst_box(ctx, track_idx);