set block align and frame size for gsm in aiff
Originally committed as revision 15203 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
736143c8d9
commit
5d79f30d70
@ -141,6 +141,10 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec,
|
||||
codec->block_align = 1*codec->channels;
|
||||
codec->frame_size = 6;
|
||||
break;
|
||||
case CODEC_ID_GSM:
|
||||
codec->block_align = 33;
|
||||
codec->frame_size = 160;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user