Commit 9f50c31e authored by François Cartegnie's avatar François Cartegnie 🤞

demux: rawdv: use VLC_DEMUXER_

parent 12cbf1ad
...@@ -266,10 +266,7 @@ static int Demux( demux_t *p_demux ) ...@@ -266,10 +266,7 @@ static int Demux( demux_t *p_demux )
es_out_SetPCR( p_demux->out, VLC_TS_0 + p_sys->i_pcr ); 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 ); p_block = vlc_stream_Block( p_demux->s, p_sys->frame_size );
if( p_block == NULL ) if( p_block == NULL )
{ return VLC_DEMUXER_EOF;
/* EOF */
return 0;
}
if( p_sys->p_es_audio ) if( p_sys->p_es_audio )
{ {
...@@ -294,7 +291,7 @@ static int Demux( demux_t *p_demux ) ...@@ -294,7 +291,7 @@ static int Demux( demux_t *p_demux )
p_sys->i_pcr += ( INT64_C(1000000) / p_sys->f_rate ); p_sys->i_pcr += ( INT64_C(1000000) / p_sys->f_rate );
} }
return 1; return VLC_DEMUXER_SUCCESS;
} }
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment