h264probe: Don't error out on bits that no longer are reserved

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/6/head
Michael Niedermayer 14 years ago committed by Martin Storsjö
parent 1481e19825
commit 769ed3057e
  1. 2
      libavformat/h264dec.c

@ -54,7 +54,7 @@ static int h264_probe(AVProbeData *p)
case 1: sli++; break;
case 5: idr++; break;
case 7:
if(p->buf[i+2]&0x0F)
if (p->buf[i + 2] & 0x03)
return 0;
sps++;
break;

Loading…
Cancel
Save