From 14c804f5411ce88f87cd2ed40c946305f35ad30e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 28 Dec 2004 22:37:31 +0000 Subject: [PATCH] Read bigger chunks for MPEG ES (the smaller value was for debugging purposes). --- src/input/r_mpeg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/r_mpeg.cpp b/src/input/r_mpeg.cpp index ef8945784..7854b3050 100644 --- a/src/input/r_mpeg.cpp +++ b/src/input/r_mpeg.cpp @@ -162,8 +162,8 @@ mpeg_es_reader_c::read(generic_packetizer_c *, unsigned char *chunk; int num_read; - chunk = (unsigned char *)safemalloc(6022); - num_read = mm_io->read(chunk, 6022); + chunk = (unsigned char *)safemalloc(20000); + num_read = mm_io->read(chunk, 20000); if (num_read <= 0) { safefree(chunk); return FILE_STATUS_DONE;