Mercurial > libavformat.hg
changeset 3255:8e58c03f8e99 libavformat
lower frame size to split amr/qcelp/gsm frames
author | bcoudurier |
---|---|
date | Fri, 25 Apr 2008 13:24:25 +0000 |
parents | 8fb1e55e0a66 |
children | b09eff5b0e89 |
files | mov.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Fri Apr 25 12:02:01 2008 +0000 +++ b/mov.c Fri Apr 25 13:24:25 2008 +0000 @@ -1186,7 +1186,7 @@ /* 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;