diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2005-07-22 09:01:47 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2005-07-22 09:01:47 +0000 |
commit | cad4368af7d6535247da7329131e2e34fef1230b (patch) | |
tree | 8942ea1b35a08dbc634bab85d424d7e3f2a77efc /libavcodec/h264.c | |
parent | 4eecd5bc66ed08f7cee245b621263cabf0b23dac (diff) | |
download | ffmpeg-cad4368af7d6535247da7329131e2e34fef1230b.tar.gz |
Add missing +1 in bounds check.
Originally committed as revision 4465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 10baf27092..99cf981786 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3108,7 +3108,7 @@ b= t; 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); } } |