Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libva
Commits
5ab4bfbf
Commit
5ab4bfbf
authored
Nov 04, 2009
by
Gwenole Beauchesne
Committed by
Xiang, Haihao
Jul 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix subpictures formats array terminator.
parent
4916645f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
i965_drv_video/i965_drv_video.c
i965_drv_video/i965_drv_video.c
+1
-1
No files found.
i965_drv_video/i965_drv_video.c
View file @
5ab4bfbf
...
@@ -76,7 +76,7 @@ static const i965_subpic_format_map_t *
...
@@ -76,7 +76,7 @@ static const i965_subpic_format_map_t *
get_subpic_format
(
const
VAImageFormat
*
va_format
)
get_subpic_format
(
const
VAImageFormat
*
va_format
)
{
{
unsigned
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
i965_subpic_formats_map
)
/
sizeof
(
i965_subpic_formats_map
[
0
])
;
i
++
)
{
for
(
i
=
0
;
i
965_subpic_formats_map
[
i
].
type
!=
0
;
i
++
)
{
const
i965_subpic_format_map_t
*
const
m
=
&
i965_subpic_formats_map
[
i
];
const
i965_subpic_format_map_t
*
const
m
=
&
i965_subpic_formats_map
[
i
];
if
(
m
->
va_format
.
fourcc
==
va_format
->
fourcc
&&
if
(
m
->
va_format
.
fourcc
==
va_format
->
fourcc
&&
(
m
->
type
==
I965_SURFACETYPE_RGBA
?
(
m
->
type
==
I965_SURFACETYPE_RGBA
?
...
...
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