vlc | branch: master | Francois Cartegnie <[email protected]> | Thu May 3 10:50:33 2018 +0200| [9f50c31e2168b8debafd2edca3c79bf968781c90] | committer: Francois Cartegnie
demux: rawdv: use VLC_DEMUXER_ > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f50c31e2168b8debafd2edca3c79bf968781c90 --- modules/demux/rawdv.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/demux/rawdv.c b/modules/demux/rawdv.c index 25f1141828..d6b5f56345 100644 --- a/modules/demux/rawdv.c +++ b/modules/demux/rawdv.c @@ -266,10 +266,7 @@ static int Demux( demux_t *p_demux ) es_out_SetPCR( p_demux->out, VLC_TS_0 + p_sys->i_pcr ); p_block = vlc_stream_Block( p_demux->s, p_sys->frame_size ); if( p_block == NULL ) - { - /* EOF */ - return 0; - } + return VLC_DEMUXER_EOF; if( p_sys->p_es_audio ) { @@ -294,7 +291,7 @@ static int Demux( demux_t *p_demux ) p_sys->i_pcr += ( INT64_C(1000000) / p_sys->f_rate ); } - return 1; + return VLC_DEMUXER_SUCCESS; } /***************************************************************************** _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
