merge amr wb case with amr nb and qcelp
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 24 Sep 2008 17:17:11 +0000 (17:17 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 24 Sep 2008 17:17:11 +0000 (17:17 +0000)
Originally committed as revision 15399 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index 7b3a6c9..aec9a9d 100644 (file)
@@ -985,11 +985,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
         break;
 #endif
     /* 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_AMR_NB:
+    case CODEC_ID_AMR_WB:
         st->codec->frame_size= sc->samples_per_frame;
         st->codec->channels= 1; /* really needed */
         break;