git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1c687
)
typo
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 3 Nov 2007 14:57:26 +0000
(14:57 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 3 Nov 2007 14:57:26 +0000
(14:57 +0000)
Originally committed as revision 10910 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/mpeg.c
b/libavformat/mpeg.c
index
a362e29
..
93b5f40
100644
(file)
--- 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++;