aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aiff.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-04 22:35:05 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-04 22:35:05 +0000
commit5d79f30d703993e4454b29f32e74ebdfa7056a67 (patch)
tree83124d42ba9aa52a5c7022e04b078950282d3f7d /libavformat/aiff.c
parent736143c8d95c7dedd079567f141f1352021aadc4 (diff)
downloadffmpeg-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.c4
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;
}