Mercurial > libavformat.hg
changeset 3932:2d0ac3628020 libavformat
do not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz
author | bcoudurier |
---|---|
date | Wed, 24 Sep 2008 17:09:59 +0000 |
parents | b1deda6b74c3 |
children | 4ab8a237c386 |
files | mov.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Wed Sep 24 12:03:25 2008 +0000 +++ b/mov.c Wed Sep 24 17:09:59 2008 +0000 @@ -986,13 +986,11 @@ #endif /* no ifdef since parameters are always those */ case CODEC_ID_AMR_WB: - st->codec->sample_rate= 16000; st->codec->channels= 1; /* really needed */ break; case CODEC_ID_QCELP: case CODEC_ID_AMR_NB: st->codec->frame_size= sc->samples_per_frame; - st->codec->sample_rate= 8000; st->codec->channels= 1; /* really needed */ break; case CODEC_ID_MP2: