[FFmpeg-cvslog] r15397 - trunk/libavformat/mov.c

bcoudurier subversion
Wed Sep 24 19:09:59 CEST 2008


Author: bcoudurier
Date: Wed Sep 24 19:09:59 2008
New Revision: 15397

Log:
do not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Wed Sep 24 19:09:59 2008
@@ -986,13 +986,11 @@ static int mov_read_stsd(MOVContext *c, 
 #endif
     /* no ifdef since parameters are always those */
     case CODEC_ID_AMR_WB:
-        st->codec->sample_rate= 16000;
         st->codec->channels= 1; /* really needed */
         break;
     case CODEC_ID_QCELP:
     case CODEC_ID_AMR_NB:
         st->codec->frame_size= sc->samples_per_frame;
-        st->codec->sample_rate= 8000;
         st->codec->channels= 1; /* really needed */
         break;
     case CODEC_ID_MP2:




More information about the ffmpeg-cvslog mailing list