]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/h263dec.c
Merge commit '5fccedaa67390ccddd6347c8e1c71b7664558bcd'
[ffmpeg] / libavformat / h263dec.c
index e6e0345b6908d16f5955e02b450ffe6b13b828ea..19ed6a94ca72327a2f6aabdf768d01b52794c64e 100644 (file)
@@ -35,7 +35,7 @@ static int h263_probe(AVProbeData *p)
     for(i=0; i<p->buf_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)