[vlc-commits] demux: cdg: use VLC_DEMUXER_
Francois Cartegnie
git at videolan.org
Thu May 3 10:13:51 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 2 17:20:52 2018 +0200| [93d204eeb6a709994e2011a3e7530fd1c602f294] | committer: Francois Cartegnie
demux: cdg: use VLC_DEMUXER_
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93d204eeb6a709994e2011a3e7530fd1c602f294
---
modules/demux/cdg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/cdg.c b/modules/demux/cdg.c
index afd57224eb..058f243d74 100644
--- a/modules/demux/cdg.c
+++ b/modules/demux/cdg.c
@@ -128,7 +128,7 @@ static int Demux( demux_t *p_demux )
if( p_block == NULL )
{
msg_Dbg( p_demux, "cannot read data, eof" );
- return 0;
+ return VLC_DEMUXER_EOF;
}
i_date = vlc_stream_Tell( p_demux->s ) / CDG_FRAME_SIZE * i_delta;
@@ -147,7 +147,7 @@ static int Demux( demux_t *p_demux )
es_out_Send( p_demux->out, p_sys->p_es, p_block );
- return 1;
+ return VLC_DEMUXER_SUCCESS;
}
/*****************************************************************************
More information about the vlc-commits
mailing list