mirror of https://git.ffmpeg.org/ffmpeg.git
set block align for mace3/6
Originally committed as revision 12328 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
28da7981d0
commit
112249de00
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue