Mercurial > libavformat.hg
changeset 2698:26a111e617a8 libavformat
typo
author | michael |
---|---|
date | Sat, 03 Nov 2007 14:57:26 +0000 |
parents | afbdd52324e3 |
children | 49c540731133 |
files | mpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg.c Sat Nov 03 13:48:30 2007 +0000 +++ b/mpeg.c Sat Nov 03 14:57:26 2007 +0000 @@ -78,7 +78,7 @@ 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++;