Mercurial > libavformat.hg
changeset 4782:400ca65902d2 libavformat
since code now use get_bits_long, allocate padding buffer
author | bcoudurier |
---|---|
date | Sun, 22 Mar 2009 02:47:35 +0000 |
parents | 5c5fe792bb66 |
children | fda46f120854 |
files | mov.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Sun Mar 22 02:04:28 2009 +0000 +++ b/mov.c Sun Mar 22 02:47:35 2009 +0000 @@ -1166,7 +1166,7 @@ num_bytes = (entries*field_size+4)>>3; - buf = av_malloc(num_bytes); + buf = av_malloc(num_bytes+FF_INPUT_BUFFER_PADDING_SIZE); if (!buf) { av_freep(&sc->sample_sizes); return AVERROR(ENOMEM);