The code was missing 1 bit in the src format
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fc145e576a443bfc89efdf35b91fd3c9ca0d8388)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -35,7 +35,7 @@ static int h263_probe(AVProbeData *p) |
35 | 35 |
for(i=0; i<p->buf_size; i++){ |
36 | 36 |
code = (code<<8) + p->buf[i]; |
37 | 37 |
if ((code & 0xfffffc0000) == 0x800000) { |
38 |
- src_fmt= (code>>2)&3; |
|
38 |
+ src_fmt= (code>>2)&7; |
|
39 | 39 |
if( src_fmt != last_src_fmt |
40 | 40 |
&& last_src_fmt>0 && last_src_fmt<6 |
41 | 41 |
&& src_fmt<6) |