Commit 5d79f30d authored by Baptiste Coudurier's avatar Baptiste Coudurier

set block align and frame size for gsm in aiff

Originally committed as revision 15203 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 736143c8
...@@ -141,6 +141,10 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, ...@@ -141,6 +141,10 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec,
codec->block_align = 1*codec->channels; codec->block_align = 1*codec->channels;
codec->frame_size = 6; codec->frame_size = 6;
break; break;
case CODEC_ID_GSM:
codec->block_align = 33;
codec->frame_size = 160;
break;
default: default:
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment