diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-04 22:35:05 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-04 22:35:05 +0000 |
commit | 5d79f30d703993e4454b29f32e74ebdfa7056a67 (patch) | |
tree | 83124d42ba9aa52a5c7022e04b078950282d3f7d /libavformat/aiff.c | |
parent | 736143c8d95c7dedd079567f141f1352021aadc4 (diff) | |
download | ffmpeg-5d79f30d703993e4454b29f32e74ebdfa7056a67.tar.gz |
set block align and frame size for gsm in aiff
Originally committed as revision 15203 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 41153553cf..0eedfba88c 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -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; } |