Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f298d137
Commit
f298d137
authored
Jan 09, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: flac: call packetizer at eos.
refs #3178
parent
bb4af408
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
modules/demux/flac.c
modules/demux/flac.c
+8
-6
No files found.
modules/demux/flac.c
View file @
f298d137
...
@@ -199,14 +199,16 @@ static int Demux( demux_t *p_demux )
...
@@ -199,14 +199,16 @@ static int Demux( demux_t *p_demux )
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
block_t
*
p_block_in
,
*
p_block_out
;
block_t
*
p_block_in
,
*
p_block_out
;
if
(
!
(
p_block_in
=
stream_Block
(
p_demux
->
s
,
FLAC_PACKET_SIZE
)
)
)
bool
b_eof
=
!
(
p_block_in
=
stream_Block
(
p_demux
->
s
,
FLAC_PACKET_SIZE
)
);
return
0
;
p_block_in
->
i_pts
=
p_block_in
->
i_dts
=
p_sys
->
b_start
?
VLC_TS_0
:
VLC_TS_INVALID
;
if
(
p_block_in
)
p_sys
->
b_start
=
false
;
{
p_block_in
->
i_pts
=
p_block_in
->
i_dts
=
p_sys
->
b_start
?
VLC_TS_0
:
VLC_TS_INVALID
;
p_sys
->
b_start
=
false
;
}
while
(
(
p_block_out
=
p_sys
->
p_packetizer
->
pf_packetize
(
while
(
(
p_block_out
=
p_sys
->
p_packetizer
->
pf_packetize
(
p_sys
->
p_packetizer
,
&
p_block_in
))
)
p_sys
->
p_packetizer
,
(
p_block_in
)
?
&
p_block_in
:
NULL
))
)
{
{
while
(
p_block_out
)
while
(
p_block_out
)
{
{
...
@@ -230,7 +232,7 @@ static int Demux( demux_t *p_demux )
...
@@ -230,7 +232,7 @@ static int Demux( demux_t *p_demux )
p_block_out
=
p_next
;
p_block_out
=
p_next
;
}
}
}
}
return
1
;
return
!
b_eof
;
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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