Browse Source

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

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n1.1
Michael Niedermayer Martin Storsjö 14 years ago
parent
commit
769ed3057e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/h264dec.c

+ 1
- 1
libavformat/h264dec.c View File

@@ -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;


Loading…
Cancel
Save