[FFmpeg-cvslog] h264probe: update to latest spec.

Michael Niedermayer git at videolan.org
Mon May 9 16:08:33 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May  9 16:05:29 2011 +0200| [5deedf3552819e5bea3327a450155bb57643a999] | committer: Michael Niedermayer

h264probe: update to latest spec.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5deedf3552819e5bea3327a450155bb57643a999
---

 libavformat/h264dec.c |    2 +-
 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;



More information about the ffmpeg-cvslog mailing list