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
03824afd
Commit
03824afd
authored
Feb 11, 2019
by
Jan Ekström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/libaribb24: protect handled value with parenthesis in RGB_TO_BGR
parent
4beccf40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libaribb24.c
libavcodec/libaribb24.c
+1
-1
No files found.
libavcodec/libaribb24.c
View file @
03824afd
...
@@ -202,7 +202,7 @@ static int libaribb24_close(AVCodecContext *avctx)
...
@@ -202,7 +202,7 @@ static int libaribb24_close(AVCodecContext *avctx)
return
0
;
return
0
;
}
}
#define RGB_TO_BGR(c) ((
c & 0xff) << 16 | (c & 0xff00) | ((c
>> 16) & 0xff))
#define RGB_TO_BGR(c) ((
(c) & 0xff) << 16 | ((c) & 0xff00) | (((c)
>> 16) & 0xff))
static
int
libaribb24_handle_regions
(
AVCodecContext
*
avctx
,
AVSubtitle
*
sub
)
static
int
libaribb24_handle_regions
(
AVCodecContext
*
avctx
,
AVSubtitle
*
sub
)
{
{
...
...
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