Index: libs/libavformat/avformat.h
===================================================================
--- libs/libavformat/avformat.h	(revision 22041)
+++ libs/libavformat/avformat.h	(working copy)
@@ -448,7 +448,7 @@
      * 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;
 
     int got_frame;
@@ -656,7 +656,7 @@
      * 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;
 
