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

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Michael Niedermayer 2011-05-09 16:05:29 +02:00 committed by Martin Storsjö
parent 1481e19825
commit 769ed3057e
1 changed files with 1 additions and 1 deletions

View File

@ -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;