Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8c63a0d1
Commit
8c63a0d1
authored
Aug 29, 2014
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xv.c: Add missing const to lookup table.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
bd6f1458
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xv.c
libavdevice/xv.c
+2
-2
No files found.
libavdevice/xv.c
View file @
8c63a0d1
...
...
@@ -67,7 +67,7 @@ typedef struct XVTagFormatMap
enum
AVPixelFormat
format
;
}
XVTagFormatMap
;
static
XVTagFormatMap
tag_codec_map
[]
=
{
static
const
XVTagFormatMap
tag_codec_map
[]
=
{
{
MKTAG
(
'I'
,
'4'
,
'2'
,
'0'
),
AV_PIX_FMT_YUV420P
},
{
MKTAG
(
'U'
,
'Y'
,
'V'
,
'Y'
),
AV_PIX_FMT_UYVY422
},
{
MKTAG
(
'Y'
,
'U'
,
'Y'
,
'2'
),
AV_PIX_FMT_YUYV422
},
...
...
@@ -76,7 +76,7 @@ static XVTagFormatMap tag_codec_map[] = {
static
int
xv_get_tag_from_format
(
enum
AVPixelFormat
format
)
{
XVTagFormatMap
*
m
=
tag_codec_map
;
const
XVTagFormatMap
*
m
=
tag_codec_map
;
int
i
;
for
(
i
=
0
;
m
->
tag
;
m
=
&
tag_codec_map
[
++
i
])
{
if
(
m
->
format
==
format
)
...
...
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