Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
ba0a56e0
Commit
ba0a56e0
authored
Mar 15, 2019
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/qtrle: Avoid an unaligned 64-bit write.
pixel_ptr can be increased by 4. Fixes a crash on sparc64.
parent
6fcf7adc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
qtrle.c
libavcodec/qtrle.c
+1
-1
version.h
libavcodec/version.h
+1
-1
No files found.
libavcodec/qtrle.c
View file @
ba0a56e0
...
...
@@ -388,7 +388,7 @@ static void qtrle_decode_32bpp(QtrleContext *s, int row_ptr, int lines_to_change
/* copy pixels directly to output */
rle_code_half
=
rle_code
/
2
;
while
(
rle_code_half
--
)
{
/* copy 2 argb raw value at the same time */
AV_WN64
A
(
rgb
+
pixel_ptr
,
bytestream2_get_ne64
(
&
s
->
g
));
AV_WN64
(
rgb
+
pixel_ptr
,
bytestream2_get_ne64
(
&
s
->
g
));
pixel_ptr
+=
8
;
}
...
...
libavcodec/version.h
View file @
ba0a56e0
...
...
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 58
#define LIBAVCODEC_VERSION_MINOR 47
#define LIBAVCODEC_VERSION_MICRO 10
4
#define LIBAVCODEC_VERSION_MICRO 10
5
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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