Mercurial > libavcodec.hg
changeset 2803:26970df644f1 libavcodec
Add missing +1 in bounds check.
author | reimar |
---|---|
date | Fri, 22 Jul 2005 09:01:47 +0000 |
parents | 4db6127e20b8 |
children | dc616c8ef3e6 |
files | h264.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Fri Jul 22 08:48:00 2005 +0000 +++ b/h264.c Fri Jul 22 09:01:47 2005 +0000 @@ -3108,7 +3108,7 @@ if(deblock_top){ XCHG(*(uint64_t*)(h->top_borders[0][s->mb_x]+0), *(uint64_t*)(src_y +1), temp64, xchg); XCHG(*(uint64_t*)(h->top_borders[0][s->mb_x]+8), *(uint64_t*)(src_y +9), temp64, 1); - if(s->mb_x < s->mb_width){ + if(s->mb_x+1 < s->mb_width){ XCHG(*(uint64_t*)(h->top_borders[0][s->mb_x+1]), *(uint64_t*)(src_y +17), temp64, 1); } }