From 486168877edf144652c1f01ad765836d7f0a3101 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 24 Sep 2009 19:20:53 +0000 Subject: [PATCH] Fix reading VDR files (broken since r19000). Originally committed as revision 20017 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index be8c374290..fbe65f509c 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -448,7 +448,7 @@ typedef struct AVStream { * Number of packets to buffer for codec probing * NOT PART OF PUBLIC API */ -#define MAX_PROBE_PACKETS 100 +#define MAX_PROBE_PACKETS 2500 int probe_packets; /** @@ -649,7 +649,7 @@ typedef struct AVFormatContext { * Remaining size available for raw_packet_buffer, in bytes. * NOT PART OF PUBLIC API */ -#define RAW_PACKET_BUFFER_SIZE 32000 +#define RAW_PACKET_BUFFER_SIZE 2500000 int raw_packet_buffer_remaining_size; } AVFormatContext;