diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-26 23:12:03 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-05 13:08:17 -0500 |
commit | ec2e767bf31cc0a79c0bcb563352688fe7bf4274 (patch) | |
tree | 16e33804eaad75b87ee84fea8e5fdd474517f100 /libavformat | |
parent | 8d1a20aa7c7326c49c0ebaa6f95289a6c3cd4695 (diff) | |
download | ffmpeg-ec2e767bf31cc0a79c0bcb563352688fe7bf4274.tar.gz |
amr demuxer: do not set AVCodecContext.frame_size.
it is not necessary.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/amr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 708eace1f9..9dd8471d56 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -100,14 +100,12 @@ static int amr_read_header(AVFormatContext *s) st->codec->codec_tag = MKTAG('s', 'a', 'w', 'b'); st->codec->codec_id = CODEC_ID_AMR_WB; st->codec->sample_rate = 16000; - st->codec->frame_size = 320; } else { st->codec->codec_tag = MKTAG('s', 'a', 'm', 'r'); st->codec->codec_id = CODEC_ID_AMR_NB; st->codec->sample_rate = 8000; - st->codec->frame_size = 160; } st->codec->channels = 1; st->codec->codec_type = AVMEDIA_TYPE_AUDIO; |