[FFmpeg-cvslog] r12954 - trunk/libavformat/mov.c
bcoudurier
subversion
Fri Apr 25 15:24:25 CEST 2008
Author: bcoudurier
Date: Fri Apr 25 15:24:25 2008
New Revision: 12954
Log:
lower frame size to split amr/qcelp/gsm frames
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Fri Apr 25 15:24:25 2008
@@ -1186,7 +1186,7 @@ static void mov_build_index(MOVContext *
/* get chunk size, beware of alaw/ulaw/mace */
if (sc->samples_per_frame > 0 &&
(chunk_samples * sc->bytes_per_frame % sc->samples_per_frame == 0)) {
- if (sc->samples_per_frame < 1024)
+ if (sc->samples_per_frame < 160)
chunk_size = chunk_samples * sc->bytes_per_frame / sc->samples_per_frame;
else {
chunk_size = sc->bytes_per_frame;
More information about the ffmpeg-cvslog
mailing list