Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
3ad21c50af
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavformat/h263dec.c

+ 5
- 0
libavformat/h263dec.c 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;


Loading…
Cancel
Save