Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
e1530a31
Commit
e1530a31
authored
Sep 26, 2023
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/cdgraphics: fix for negative linesize and vertical scrolling
parent
8fa83ad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cdgraphics.c
libavcodec/cdgraphics.c
+2
-2
No files found.
libavcodec/cdgraphics.c
View file @
e1530a31
...
...
@@ -249,11 +249,11 @@ static void cdg_scroll(CDGraphicsContext *cc, uint8_t *data,
if
(
vinc
>
0
)
cdg_fill_wrapper
(
0
,
0
,
out
,
0
,
CDG_FULL_HEIGHT
-
vinc
,
in
,
color
,
stride
,
vinc
,
stride
,
roll_over
);
FFABS
(
stride
)
,
vinc
,
stride
,
roll_over
);
else
if
(
vinc
<
0
)
cdg_fill_wrapper
(
0
,
CDG_FULL_HEIGHT
+
vinc
,
out
,
0
,
0
,
in
,
color
,
stride
,
-
1
*
vinc
,
stride
,
roll_over
);
FFABS
(
stride
)
,
-
1
*
vinc
,
stride
,
roll_over
);
if
(
hinc
>
0
)
cdg_fill_wrapper
(
0
,
0
,
out
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment