Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f9043113
Commit
f9043113
authored
Oct 15, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg: fixed a couple of corner cases during initialization.
parent
a4f05a55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.c
+1
-0
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+1
-1
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+1
-0
No files found.
modules/codec/ffmpeg/audio.c
View file @
f9043113
...
...
@@ -126,6 +126,7 @@ int E_(InitAudioDec)( decoder_t *p_dec, AVCodecContext *p_context,
{
vlc_mutex_unlock
(
lockval
.
p_address
);
msg_Err
(
p_dec
,
"cannot open codec (%s)"
,
p_sys
->
psz_namecodec
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
vlc_mutex_unlock
(
lockval
.
p_address
);
...
...
modules/codec/ffmpeg/ffmpeg.c
View file @
f9043113
...
...
@@ -263,7 +263,7 @@ static int OpenDecoder( vlc_object_t *p_this )
i_result
=
VLC_EGENERIC
;
}
p_dec
->
p_sys
->
i_cat
=
i_cat
;
if
(
i_result
==
VLC_SUCCESS
)
p_dec
->
p_sys
->
i_cat
=
i_cat
;
return
i_result
;
}
...
...
modules/codec/ffmpeg/video.c
View file @
f9043113
...
...
@@ -405,6 +405,7 @@ int E_(InitVideoDec)( decoder_t *p_dec, AVCodecContext *p_context,
{
vlc_mutex_unlock
(
lockval
.
p_address
);
msg_Err
(
p_dec
,
"cannot open codec (%s)"
,
p_sys
->
psz_namecodec
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
vlc_mutex_unlock
(
lockval
.
p_address
);
...
...
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