ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Wed Dec 15 10:26:22 2021 +0100| [1c49d74fad3a996e08a6b96db59ed5179f8aa373] | committer: Paul B Mahol
avcodec/cdgraphics: unbreak rendering of vertical scrolling > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1c49d74fad3a996e08a6b96db59ed5179f8aa373 --- libavcodec/cdgraphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cdgraphics.c b/libavcodec/cdgraphics.c index 731d800666..c9e265fa53 100644 --- a/libavcodec/cdgraphics.c +++ b/libavcodec/cdgraphics.c @@ -218,7 +218,7 @@ static void cdg_scroll(CDGraphicsContext *cc, uint8_t *data, /// find the difference and save the offset for cdg_tile_block usage hinc = h_off - cc->hscroll; - vinc = v_off - cc->vscroll; + vinc = cc->vscroll - v_off; cc->hscroll = h_off; cc->vscroll = v_off; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".