Commit 769ed305 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö

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

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 1481e198
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment