[vlc-commits] demux: au: use VLC_DEMUXER_
Francois Cartegnie
git at videolan.org
Thu May 3 10:13:48 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 2 17:14:34 2018 +0200| [e5203d7744b6cd58f78d72a6a0c15f6301ac294a] | committer: Francois Cartegnie
demux: au: use VLC_DEMUXER_
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5203d7744b6cd58f78d72a6a0c15f6301ac294a
---
modules/demux/au.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/au.c b/modules/demux/au.c
index 7912f3b9fe..67f0cba208 100644
--- a/modules/demux/au.c
+++ b/modules/demux/au.c
@@ -318,7 +318,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;
}
p_block->i_dts =
@@ -331,7 +331,7 @@ static int Demux( demux_t *p_demux )
p_sys->i_time += p_sys->i_frame_length;
- return 1;
+ return VLC_DEMUXER_SUCCESS;
}
/*****************************************************************************
More information about the vlc-commits
mailing list