Commit 9caf1361 authored by bcoudurier's avatar bcoudurier

set block align and frame size for gsm in aiff

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15203 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 509c7204
...@@ -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