From 5deedf3552819e5bea3327a450155bb57643a999 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 9 May 2011 16:05:29 +0200 Subject: h264probe: update to latest spec. Signed-off-by: Michael Niedermayer --- libavformat/h264dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/h264dec.c') diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c index 3f5ed5e..cec8f85 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; -- cgit v1.1