Originally committed as revision 10910 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-11-03 14:57:26 +00:00
parent eb1c687b1b
commit 0c904db118

View File

@ -78,7 +78,7 @@ static int mpegps_probe(AVProbeData *p)
for(i=0; i<p->buf_size; i++){
code = (code<<8) + p->buf[i];
if ((code & 0xffffff00) == 0x100) {
int pes= check_pes(p->buf+i, p->buf+i+p->buf_size);
int pes= check_pes(p->buf+i, p->buf+p->buf_size);
if(code == SYSTEM_HEADER_START_CODE) sys++;
else if(code == PRIVATE_STREAM_1) priv1++;