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 <michaelni@gmx.at>
pull/18/head
Piotr Bandurski 12 years ago committed by Michael Niedermayer
parent 5e29e91232
commit 7baef22fca
  1. 2
      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:

Loading…
Cancel
Save