diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-25 13:24:25 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-25 13:24:25 +0000 |
commit | 3b8c000d1e85724ad4e2dcc3382a2651978b0109 (patch) | |
tree | 59bf2c9ced3d30ea796f421e6e8d516b9d1b96b7 /libavformat/mov.c | |
parent | 96ddaff5ec76f40d4ea6d00f07ff246388db4835 (diff) | |
download | ffmpeg-3b8c000d1e85724ad4e2dcc3382a2651978b0109.tar.gz |
lower frame size to split amr/qcelp/gsm frames
Originally committed as revision 12954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
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; |