OSDN Git Service

Fix reading VDR files (broken since r19000).
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 24 Sep 2009 19:20:53 +0000 (19:20 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 24 Sep 2009 19:20:53 +0000 (19:20 +0000)
Originally committed as revision 20017 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index be8c374..fbe65f5 100644 (file)
@@ -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;