summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-05-13 03:41:00 -0400
committerBradley Sepos <[email protected]>2018-05-13 03:41:44 -0400
commit065a485ccbaf9fc051e0d6f607ae590f5aaa40d4 (patch)
tree7a3052a12b5ab427f51ad003ee95190caa8bb307
parent549d2c1f845dc3e1e9c3d4c5fbbce6cb6d6ff848 (diff)
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.
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
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);