mov: set block_align for MACE 3:1 and MACE 6:1
authorPiotr Bandurski <ami_stuff@o2.pl>
Sat, 18 May 2013 13:23:20 +0000 (15:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 May 2013 14:26:50 +0000 (16:26 +0200)
fixes remuxing of audio track from mov to aifc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c

index 389f786..d5e1f89 100644 (file)
@@ -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: