changeset 3933:4ab8a237c386 libavformat

merge amr wb case with amr nb and qcelp
author bcoudurier
date Wed, 24 Sep 2008 17:17:11 +0000
parents 2d0ac3628020
children 1aa5e41ceaef
files mov.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Wed Sep 24 17:09:59 2008 +0000
+++ b/mov.c	Wed Sep 24 17:17:11 2008 +0000
@@ -985,11 +985,9 @@
         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;