[FFmpeg-cvslog] r12950 - trunk/libavformat/mov.c
bcoudurier
subversion
Fri Apr 25 12:35:07 CEST 2008
Author: bcoudurier
Date: Fri Apr 25 12:35:06 2008
New Revision: 12950
Log:
set gsm default frame size and bytes per frame, needed by old qt format, fix sample-gsm-8000.mov
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Fri Apr 25 12:35:06 2008
@@ -856,6 +856,10 @@ static int mov_read_stsd(MOVContext *c,
sc->samples_per_frame = 64;
sc->bytes_per_frame = 34*st->codec->channels;
break;
+ case CODEC_ID_GSM:
+ sc->samples_per_frame = 160;
+ sc->bytes_per_frame = 33;
+ break;
default:
break;
}
More information about the ffmpeg-cvslog
mailing list