diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-11-03 14:57:26 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-11-03 14:57:26 +0000 |
commit | 0c904db11861a5de3a9091fb018116bde5ed567f (patch) | |
tree | 38e8b85fb857350a9c05e2f01197c4d66d4ab3f0 | |
parent | eb1c687b1b3ab7963ba6c527d275221ed55553ed (diff) | |
download | ffmpeg-0c904db11861a5de3a9091fb018116bde5ed567f.tar.gz |
typo
Originally committed as revision 10910 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index a362e29e8b..93b5f40d5f 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -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++; |