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
a4556602
Commit
a4556602
authored
Feb 12, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
davinci: check fmt.i_cat
parent
a99f3b3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/codec/davinci/audio.c
modules/codec/davinci/audio.c
+2
-0
modules/codec/davinci/video.c
modules/codec/davinci/video.c
+2
-0
No files found.
modules/codec/davinci/audio.c
View file @
a4556602
...
...
@@ -98,6 +98,8 @@ int OpenAudioDecoder( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
if
(
i_cat
!=
AUDIO_ES
)
return
VLC_EGENERIC
;
/* Allocate our private structure */
p_dec
->
p_sys
=
p_sys
=
(
decoder_sys_t
*
)
calloc
(
1
,
sizeof
(
decoder_sys_t
)
);
if
(
!
p_dec
->
p_sys
)
...
...
modules/codec/davinci/video.c
View file @
a4556602
...
...
@@ -78,6 +78,8 @@ int OpenVideoDecoder( vlc_object_t *p_this )
&
psz_codec
,
&
psz_namecodec
)
)
return
VLC_EGENERIC
;
if
(
i_cat
!=
VIDEO_ES
)
return
VLC_EGENERIC
;
msg_Dbg
(
p_dec
,
"found davinci decoder %s for %s (codec=%4.4s, cat=%s)"
,
psz_codec
,
(
char
*
)
&
p_dec
->
fmt_out
.
i_codec
,
psz_namecodec
,
(
i_cat
==
VIDEO_ES
)
?
"video"
:
...
...
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