Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
vlc
Commits
89e2b7fc
Commit
89e2b7fc
authored
May 31, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec/avcodec/vaapi.c: abort() on runtime errors.
These conditions should not happen.
parent
8f1620b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/codec/avcodec/vaapi.c
modules/codec/avcodec/vaapi.c
+3
-2
No files found.
modules/codec/avcodec/vaapi.c
View file @
89e2b7fc
...
...
@@ -418,7 +418,7 @@ static int DisplayPicture( vlc_va_t *p_external, picture_t *p_picture, AVFrame *
return
VLC_EGENERIC
;
if
(
!
p_picture
->
p_sys
)
return
VLC_EGENERIC
;
abort
()
;
if
(
p_picture
->
p_sys
->
b_own_vout
)
return
VLC_SUCCESS
;
...
...
@@ -426,7 +426,7 @@ static int DisplayPicture( vlc_va_t *p_external, picture_t *p_picture, AVFrame *
/* FindSurface */
p_picture
->
p_sys
->
surface
=
FindSurface
(
p_external
,
i_surface_id
);
if
(
!
p_picture
->
p_sys
->
surface
)
return
VLC_EGENERIC
;
abort
()
;
assert
(
p_picture
->
p_sys
->
subpicture
==
NULL
);
...
...
@@ -530,6 +530,7 @@ vlc_va_t *vlc_va_NewVaapi( vlc_object_t *obj, int i_codec_id )
p_va
->
va
.
close
=
Delete
;
return
&
p_va
->
va
;
}
#else
vlc_va_t
*
vlc_va_NewVaapi
(
vlc_object_t
*
obj
,
int
i_codec_id
)
{
...
...
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