Commit d014e089 authored by michael's avatar michael

Raise threshold of h263 probe by 1 to avoid misdetection.

Fixes issue 1588.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20765 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 58c6926b
...@@ -473,7 +473,8 @@ static int h263_probe(AVProbeData *p) ...@@ -473,7 +473,8 @@ static int h263_probe(AVProbeData *p)
} }
} }
//av_log(NULL, AV_LOG_ERROR, "h263_probe: psc:%d invalid:%d res_change:%d\n", valid_psc, invalid_psc, res_change); //av_log(NULL, AV_LOG_ERROR, "h263_probe: psc:%d invalid:%d res_change:%d\n", valid_psc, invalid_psc, res_change);
if(valid_psc > 2*invalid_psc + 2*res_change + 2){ //h263_probe: psc:3 invalid:0 res_change:0 (1588/recent_ffmpeg_parses_mpg_incorrectly.mpg)
if(valid_psc > 2*invalid_psc + 2*res_change + 3){
return 50; return 50;
}else if(valid_psc > 2*invalid_psc) }else if(valid_psc > 2*invalid_psc)
return 25; return 25;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment