Mercurial > libavcodec.hg
changeset 1288:10c21dffe5ab libavcodec
mpeg1 decoding fix
author | michaelni |
---|---|
date | Thu, 29 May 2003 21:34:25 +0000 |
parents | 9211fbd31353 |
children | 57172377849a |
files | mpegvideo.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Wed May 28 18:44:52 2003 +0000 +++ b/mpegvideo.c Thu May 29 21:34:25 2003 +0000 @@ -2924,7 +2924,8 @@ pc->index += *buf_size; return -1; } - + + *buf_size= pc->overread_index= pc->index + next; /* append to buffer */ @@ -2934,7 +2935,6 @@ memcpy(&pc->buffer[pc->index], *buf, next + FF_INPUT_BUFFER_PADDING_SIZE ); pc->index = 0; *buf= pc->buffer; - *buf_size= pc->last_index + next; } /* store overread bytes */