summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/h264dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c
index 807008621a..0c85bae6d4 100644
--- a/libavformat/h264dec.c
+++ b/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;