Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Jean-Baptiste Kempf
vlc
Commits
222b6738
Commit
222b6738
authored
May 03, 2018
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aiff: check ES just once
parent
6302901c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/demux/aiff.c
modules/demux/aiff.c
+3
-5
No files found.
modules/demux/aiff.c
View file @
222b6738
...
...
@@ -207,6 +207,8 @@ static int Open( vlc_object_t *p_this )
/* */
p_sys
->
es
=
es_out_Add
(
p_demux
->
out
,
&
p_sys
->
fmt
);
if
(
unlikely
(
p_sys
->
es
==
NULL
)
)
return
VLC_ENOMEM
;
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
...
...
@@ -255,11 +257,7 @@ static int Demux( demux_t *p_demux )
p_sys
->
fmt
.
audio
.
i_rate
;
/* */
if
(
p_sys
->
es
)
es_out_Send
(
p_demux
->
out
,
p_sys
->
es
,
p_block
);
else
block_Release
(
p_block
);
es_out_Send
(
p_demux
->
out
,
p_sys
->
es
,
p_block
);
return
VLC_DEMUXER_SUCCESS
;
}
...
...
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