changeset 4054:33d869ddfd06 libavformat

More OKed parts of the QCELP decoder patch by Kenan Gillet, kenan.gillet gmail com
author vitor
date Mon, 01 Dec 2008 22:07:00 +0000
parents 06642e6ba288
children 69a2d02089e1
files mov.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Mon Dec 01 00:08:42 2008 +0000
+++ b/mov.c	Mon Dec 01 22:07:00 2008 +0000
@@ -988,6 +988,7 @@
 #endif
     /* no ifdef since parameters are always those */
     case CODEC_ID_QCELP:
+        st->codec->channels= 1; /* really needed */
     case CODEC_ID_AMR_NB:
     case CODEC_ID_AMR_WB:
         st->codec->frame_size= sc->samples_per_frame;