avformat/h263dec/h263_probe: Check PSC bit 9 and 13 in

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-07 03:20:13 +02:00
parent 04b15a6055
commit 3ad21c50af
1 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,11 @@ static int h263_probe(AVProbeData *p)
&& src_fmt<6)
res_change++;
if (src_fmt != 7 && !(code&(1<<9)) && (code&(1<<5))) {
invalid_psc++;
continue;
}
if((code&0x30000)==0x20000 && src_fmt){
valid_psc++;
last_gn=0;