From: Bradley Sepos Date: Sun, 13 May 2018 07:41:00 +0000 (-0400) Subject: libhb: Increase maximum packet read size in stream.c. X-Git-Tag: 1.2.0~475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=065a485ccbaf9fc051e0d6f607ae590f5aaa40d4;p=handbrake libhb: Increase maximum packet read size in stream.c. Previous value maxed out at lossless x264 4K or so, new value should be large enough for lossless x264 8K. Fixes #1334. --- diff --git a/libhb/stream.c b/libhb/stream.c index 06e6c70ab..210b5201b 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5802,7 +5802,7 @@ hb_buffer_t * hb_ffmpeg_read( hb_stream_t *stream ) else { // sometimes we get absurd sizes from ffmpeg - if ( stream->ffmpeg_pkt.size >= (1 << 25) ) + if ( stream->ffmpeg_pkt.size >= (1 << 27) ) { hb_log( "ffmpeg_read: pkt too big: %d bytes", stream->ffmpeg_pkt.size ); av_packet_unref(&stream->ffmpeg_pkt);