Ticket #3895: ffmpeg-max_error_rate-default-1.patch

File ffmpeg-max_error_rate-default-1.patch, 339 bytes (added by JayBlanc, 12 years ago)

Patch to restore default behaviour to only having positive return values after a fatal error.

  • ffmpeg_opt.c

    diff --git ffmpeg_opt.c ffmpeg_opt.c
    index 5bc7705..0b0e2da 100644
    int print_stats = -1;  
    9898int qp_hist           = 0;
    9999int stdin_interaction = 1;
    100100int frame_bits_per_raw_sample = 0;
    101 float max_error_rate  = 2.0/3;
     101float max_error_rate  = 1;
    102102
    103103
    104104static int intra_only         = 0;