Browse Source

set block align and frame size for gsm in aiff

Originally committed as revision 15203 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
5d79f30d70
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/aiff.c

+ 4
- 0
libavformat/aiff.c View File

@@ -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