diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-05 12:06:57 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-05 12:06:57 +0000 |
commit | 112249de005bb6757155532d083bc21bc4506c6b (patch) | |
tree | a3fa55c6b5501188a368e81a39a4fabf6c55dec3 /libavformat/aiff.c | |
parent | 28da7981d0965558d490780a984cb927019f0c06 (diff) | |
download | ffmpeg-112249de005bb6757155532d083bc21bc4506c6b.tar.gz |
set block align for mace3/6
Originally committed as revision 12328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aiff.c')
-rw-r--r-- | libavformat/aiff.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c index 4343e79c48..78ae6f4cb9 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -131,7 +131,11 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, codec->frame_size = 64; break; case CODEC_ID_MACE3: + codec->block_align = 2*codec->channels; + codec->frame_size = 6; + break; case CODEC_ID_MACE6: + codec->block_align = 1*codec->channels; codec->frame_size = 6; break; default: |