set block align and frame size for gsm in aiff

Originally committed as revision 15203 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 17 years ago
parent 736143c8d9
commit 5d79f30d70
  1. 4
      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;
}

Loading…
Cancel
Save