diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2013-05-18 15:23:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-18 16:26:50 +0200 |
commit | 7baef22fcad378f86bf8e6d2c87d0d587d0830cc (patch) | |
tree | 03aad8150f33decc46f001dac46c311b861ad010 /libavformat | |
parent | 5e29e912327e2e2533a7f537d305b8af4339a425 (diff) | |
download | ffmpeg-7baef22fcad378f86bf8e6d2c87d0d587d0830cc.tar.gz |
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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |