Commit aeb62788 authored by Baptiste Coudurier's avatar Baptiste Coudurier

merge amr wb case with amr nb and qcelp

Originally committed as revision 15399 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 637b638e
...@@ -985,11 +985,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -985,11 +985,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
break; break;
#endif #endif
/* no ifdef since parameters are always those */ /* no ifdef since parameters are always those */
case CODEC_ID_AMR_WB:
st->codec->channels= 1; /* really needed */
break;
case CODEC_ID_QCELP: case CODEC_ID_QCELP:
case CODEC_ID_AMR_NB: case CODEC_ID_AMR_NB:
case CODEC_ID_AMR_WB:
st->codec->frame_size= sc->samples_per_frame; st->codec->frame_size= sc->samples_per_frame;
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