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

bcoudurier subversion
Fri Apr 25 15:34:55 CEST 2008


Author: bcoudurier
Date: Fri Apr 25 15:34:51 2008
New Revision: 12956

Log:
parser should not be needed anymore, merge cases and set frame size for amr too

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Fri Apr 25 15:34:51 2008
@@ -925,9 +925,8 @@ static int mov_read_stsd(MOVContext *c, 
         st->codec->channels= 1; /* really needed */
         break;
     case CODEC_ID_QCELP:
-        st->codec->frame_size = sc->samples_per_frame;
-        st->need_parsing= AVSTREAM_PARSE_FULL;
     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;




More information about the ffmpeg-cvslog mailing list