diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-30 04:21:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-30 04:21:31 +0300 |
commit | e5c2e5e9e5fe9d1fd6178397cc29bb2552787083 (patch) | |
tree | 6d71fa758b97b435e0cbd0ec55a0716b7c9bd706 /source/blender/imbuf/intern | |
parent | 39226cd437c4d68134369740bdab945c4b4d4364 (diff) |
Cleanup: quiet shadow variable warning
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/anim_movie.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index 9e8224f58b2..96cd1fb61a4 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -881,12 +881,12 @@ static void ffmpeg_postprocess(struct anim *anim) # endif if (need_aligned_ffmpeg_buffer(anim)) { - uint8_t *src = anim->pFrameRGB->data[0]; - uint8_t *dst = (uint8_t *)ibuf->rect; + uint8_t *buf_src = anim->pFrameRGB->data[0]; + uint8_t *buf_dst = (uint8_t *)ibuf->rect; for (int y = 0; y < anim->y; y++) { - memcpy(dst, src, anim->x * 4); - dst += anim->x * 4; - src += anim->pFrameRGB->linesize[0]; + memcpy(buf_dst, buf_src, anim->x * 4); + buf_dst += anim->x * 4; + buf_src += anim->pFrameRGB->linesize[0]; } } |