Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
2a08b716
Commit
2a08b716
authored
Jul 15, 2016
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ps: use VLC_DEMUX_
parent
0b9f3696
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/mpeg/ps.c
modules/demux/mpeg/ps.c
+4
-4
No files found.
modules/demux/mpeg/ps.c
View file @
2a08b716
...
...
@@ -301,7 +301,7 @@ static int Demux( demux_t *p_demux )
i_ret
=
ps_pkt_resynch
(
p_demux
->
s
,
&
i_code
);
if
(
i_ret
<
0
)
{
return
0
;
return
VLC_DEMUXER_EOF
;
}
else
if
(
i_ret
==
0
)
{
...
...
@@ -309,7 +309,7 @@ static int Demux( demux_t *p_demux )
msg_Warn
(
p_demux
,
"garbage at input, trying to resync..."
);
p_sys
->
b_lost_sync
=
true
;
return
1
;
return
VLC_DEMUXER_SUCCESS
;
}
if
(
p_sys
->
b_lost_sync
)
msg_Warn
(
p_demux
,
"found sync code"
);
...
...
@@ -323,7 +323,7 @@ static int Demux( demux_t *p_demux )
if
(
(
p_pkt
=
ps_pkt_read
(
p_demux
->
s
,
i_code
)
)
==
NULL
)
{
return
0
;
return
VLC_DEMUXER_EOF
;
}
switch
(
i_code
)
...
...
@@ -456,7 +456,7 @@ static int Demux( demux_t *p_demux )
}
demux_UpdateTitleFromStream
(
p_demux
);
return
1
;
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