Commit d0bb9a03 authored by bcoudurier's avatar bcoudurier

parser should not be needed anymore, merge cases and set frame size for amr too

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12956 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ace87756
...@@ -925,9 +925,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -925,9 +925,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec->channels= 1; /* really needed */ st->codec->channels= 1; /* really needed */
break; break;
case CODEC_ID_QCELP: case CODEC_ID_QCELP:
st->codec->frame_size = sc->samples_per_frame;
st->need_parsing= AVSTREAM_PARSE_FULL;
case CODEC_ID_AMR_NB: case CODEC_ID_AMR_NB:
st->codec->frame_size = sc->samples_per_frame;
st->codec->sample_rate= 8000; st->codec->sample_rate= 8000;
st->codec->channels= 1; /* really needed */ st->codec->channels= 1; /* really needed */
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