[FFmpeg-cvslog] shorten: increase max_frame_size.
Michael Niedermayer
git at videolan.org
Tue May 8 20:20:02 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 8 18:52:18 2012 +0200| [b4b58485135dbc37a6cf8a57196157b1d67d13e1] | committer: Michael Niedermayer
shorten: increase max_frame_size.
Fixes Ticket1250
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b4b58485135dbc37a6cf8a57196157b1d67d13e1
---
libavcodec/shorten.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index 18b8012..b211e4f 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -414,7 +414,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data,
/* allocate internal bitstream buffer */
if(s->max_framesize == 0){
void *tmp_ptr;
- s->max_framesize= 1024; // should hopefully be enough for the first header
+ s->max_framesize= 8192; // should hopefully be enough for the first header
tmp_ptr = av_fast_realloc(s->bitstream, &s->allocated_bitstream_size,
s->max_framesize);
if (!tmp_ptr) {
More information about the ffmpeg-cvslog
mailing list