changeset 3256:b09eff5b0e89 libavformat

parser should not be needed anymore, merge cases and set frame size for amr too
author bcoudurier
date Fri, 25 Apr 2008 13:34:51 +0000
parents 8e58c03f8e99
children 2f5837726057
files mov.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Fri Apr 25 13:24:25 2008 +0000
+++ b/mov.c	Fri Apr 25 13:34:51 2008 +0000
@@ -925,9 +925,8 @@
         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->need_parsing= AVSTREAM_PARSE_FULL;
-    case CODEC_ID_AMR_NB:
         st->codec->sample_rate= 8000;
         st->codec->channels= 1; /* really needed */
         break;