[FFmpeg-cvslog] mov: set block_align for MACE 3:1 and MACE 6:1
Piotr Bandurski
git at videolan.org
Sat May 18 16:33:41 CEST 2013
ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Sat May 18 15:23:20 2013 +0200| [7baef22fcad378f86bf8e6d2c87d0d587d0830cc] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7baef22fcad378f86bf8e6d2c87d0d587d0830cc
---
libavformat/mov.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 389f786..d5e1f89 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:
More information about the ffmpeg-cvslog
mailing list