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
647fb394
Commit
647fb394
authored
May 03, 2018
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: voc: use VLC_DEMUXER_
parent
588c47aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/voc.c
modules/demux/voc.c
+4
-4
No files found.
modules/demux/voc.c
View file @
647fb394
...
...
@@ -480,8 +480,8 @@ static int Demux( demux_t *p_demux )
if
(
i_offset
>=
p_sys
->
i_block_end
)
{
if
(
ReadBlockHeader
(
p_demux
)
!=
VLC_SUCCESS
)
return
0
;
return
1
;
return
VLC_DEMUXER_EOF
;
return
VLC_DEMUXER_SUCCESS
;
}
i_read_frames
=
(
p_sys
->
i_block_end
-
i_offset
)
...
...
@@ -496,7 +496,7 @@ static int Demux( demux_t *p_demux )
if
(
p_block
==
NULL
)
{
msg_Warn
(
p_demux
,
"cannot read data"
);
return
0
;
return
VLC_DEMUXER_EOF
;
}
}
else
...
...
@@ -519,7 +519,7 @@ static int Demux( demux_t *p_demux )
es_out_SetPCR
(
p_demux
->
out
,
p_block
->
i_pts
);
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_es
,
p_block
);
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