From 7baef22fcad378f86bf8e6d2c87d0d587d0830cc Mon Sep 17 00:00:00 2001 From: Piotr Bandurski Date: Sat, 18 May 2013 15:23:20 +0200 Subject: [PATCH] mov: set block_align for MACE 3:1 and MACE 6:1 fixes remuxing of audio track from mov to aifc Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 389f786ed4..d5e1f893f5 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1549,6 +1549,8 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries) case AV_CODEC_ID_ADPCM_MS: case AV_CODEC_ID_ADPCM_IMA_WAV: case AV_CODEC_ID_ILBC: + case AV_CODEC_ID_MACE3: + case AV_CODEC_ID_MACE6: st->codec->block_align = sc->bytes_per_frame; break; case AV_CODEC_ID_ALAC: