Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
a81b46ea
Commit
a81b46ea
authored
Mar 07, 2007
by
Laurent Aimar
Browse files
Fixed uninitialized value.
parent
6a46d6cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/ffmpeg/audio.c
View file @
a81b46ea
...
...
@@ -148,11 +148,9 @@ int E_(InitAudioDec)( decoder_t *p_dec, AVCodecContext *p_context,
p_sys
->
p_samples
=
NULL
;
p_sys
->
i_samples
=
0
;
aout_DateSet
(
&
p_sys
->
end_date
,
0
);
if
(
p_dec
->
fmt_in
.
audio
.
i_rate
)
{
aout_DateInit
(
&
p_sys
->
end_date
,
p_dec
->
fmt_in
.
audio
.
i_rate
);
aout_DateSet
(
&
p_sys
->
end_date
,
0
);
}
/* Set output properties */
p_dec
->
fmt_out
.
i_cat
=
AUDIO_ES
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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