diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-08 18:52:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-08 20:18:53 +0200 |
commit | b4b58485135dbc37a6cf8a57196157b1d67d13e1 (patch) | |
tree | 3fb6b08f4e33f3fee295c4be12d65bef802c2f5e /libavcodec/shorten.c | |
parent | 0261902dac6949631cd053ba425e742080b3314f (diff) | |
download | ffmpeg-streaming-b4b58485135dbc37a6cf8a57196157b1d67d13e1.zip ffmpeg-streaming-b4b58485135dbc37a6cf8a57196157b1d67d13e1.tar.gz |
shorten: increase max_frame_size.
Fixes Ticket1250
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/shorten.c')
-rw-r--r-- | 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) { |