Mercurial > libavformat.hg
changeset 5425:9ee7e675a476 libavformat
Raise threshold of h263 probe by 1 to avoid misdetection.
Fixes issue 1588.
author | michael |
---|---|
date | Tue, 08 Dec 2009 12:34:08 +0000 |
parents | 8dd3cb8e01c7 |
children | ccc14dcb3460 |
files | raw.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/raw.c Tue Dec 08 12:33:00 2009 +0000 +++ b/raw.c Tue Dec 08 12:34:08 2009 +0000 @@ -473,7 +473,8 @@ } } //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; }else if(valid_psc > 2*invalid_psc) return 25;