Commit 63461d0e authored by bcoudurier's avatar bcoudurier

set block align for mace3/6

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e356e431
...@@ -131,7 +131,11 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, ...@@ -131,7 +131,11 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec,
codec->frame_size = 64; codec->frame_size = 64;
break; break;
case CODEC_ID_MACE3: case CODEC_ID_MACE3:
codec->block_align = 2*codec->channels;
codec->frame_size = 6;
break;
case CODEC_ID_MACE6: case CODEC_ID_MACE6:
codec->block_align = 1*codec->channels;
codec->frame_size = 6; codec->frame_size = 6;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment