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:
Baptiste Coudurier 2008-09-04 22:35:05 +00:00
parent 736143c8d9
commit 5d79f30d70

View File

@ -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;
}