Ticket #7140: mythtv_apply_ffmpeg_r20017.diff

File mythtv_apply_ffmpeg_r20017.diff, 691 bytes (added by tralph11@…, 17 years ago)

proper fix from the ffmpeg developers

  • libs/libavformat/avformat.h

     
    448448     * Number of packets to buffer for codec probing
    449449     * NOT PART OF PUBLIC API
    450450     */
    451 #define MAX_PROBE_PACKETS 100
     451#define MAX_PROBE_PACKETS 2500
    452452    int probe_packets;
    453453
    454454    int got_frame;
     
    656656     * Remaining size available for raw_packet_buffer, in bytes.
    657657     * NOT PART OF PUBLIC API
    658658     */
    659 #define RAW_PACKET_BUFFER_SIZE 32000
     659#define RAW_PACKET_BUFFER_SIZE 2500000
    660660    int raw_packet_buffer_remaining_size;
    661661} AVFormatContext;
    662662