summaryrefslogtreecommitdiffstats
path: root/libavformat/h264dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-09 16:05:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-09 16:05:29 +0200
commit5deedf3552819e5bea3327a450155bb57643a999 (patch)
tree85e1f3c7515373ace5361693e3a93cb7470a015a /libavformat/h264dec.c
parent6841c8c5791e857a3327411f23c13b0d28f69f1f (diff)
downloadffmpeg-streaming-5deedf3552819e5bea3327a450155bb57643a999.zip
ffmpeg-streaming-5deedf3552819e5bea3327a450155bb57643a999.tar.gz
h264probe: update to latest spec.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/h264dec.c')
-rw-r--r--libavformat/h264dec.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud