aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-04-25 13:24:25 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-04-25 13:24:25 +0000
commit3b8c000d1e85724ad4e2dcc3382a2651978b0109 (patch)
tree59bf2c9ced3d30ea796f421e6e8d516b9d1b96b7
parent96ddaff5ec76f40d4ea6d00f07ff246388db4835 (diff)
downloadffmpeg-3b8c000d1e85724ad4e2dcc3382a2651978b0109.tar.gz
lower frame size to split amr/qcelp/gsm frames
Originally committed as revision 12954 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 167e405dfa..2d992e19df 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1186,7 +1186,7 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
/* 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;