X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fh263dec.c;h=19ed6a94ca72327a2f6aabdf768d01b52794c64e;hb=cac07d0e103656a2436ea04b700128ce436a4d06;hp=e6e0345b6908d16f5955e02b450ffe6b13b828ea;hpb=e8fc91e22a608eecccdeb612f91a0998e486426d;p=ffmpeg diff --git a/libavformat/h263dec.c b/libavformat/h263dec.c index e6e0345b690..19ed6a94ca7 100644 --- a/libavformat/h263dec.c +++ b/libavformat/h263dec.c @@ -35,7 +35,7 @@ static int h263_probe(AVProbeData *p) for(i=0; ibuf_size; i++){ code = (code<<8) + p->buf[i]; if ((code & 0xfffffc0000) == 0x800000) { - src_fmt= (code>>2)&3; + src_fmt= (code>>2)&7; if( src_fmt != last_src_fmt && last_src_fmt>0 && last_src_fmt<6 && src_fmt<6)