[vlc-commits] demux: aiff: use VLC_DEMUXER_

Francois Cartegnie git at videolan.org
Thu May 3 10:13:45 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May  2 17:10:56 2018 +0200| [749b70a63275a3c37b3c95d3a6157a0d9e3497e3] | committer: Francois Cartegnie

demux: aiff: use VLC_DEMUXER_

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=749b70a63275a3c37b3c95d3a6157a0d9e3497e3
---

 modules/demux/aiff.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/aiff.c b/modules/demux/aiff.c
index a7c63ceae2..db2e932785 100644
--- a/modules/demux/aiff.c
+++ b/modules/demux/aiff.c
@@ -243,7 +243,7 @@ static int Demux( demux_t *p_demux )
     if( p_sys->i_ssnd_end > 0 && i_tell >= p_sys->i_ssnd_end )
     {
         /* EOF */
-        return 0;
+        return VLC_DEMUXER_EOF;
     }
 
     /* Set PCR */
@@ -257,7 +257,7 @@ static int Demux( demux_t *p_demux )
     }
     if( ( p_block = vlc_stream_Block( p_demux->s, i_read ) ) == NULL )
     {
-        return 0;
+        return VLC_DEMUXER_EOF;
     }
 
     p_block->i_dts =
@@ -274,7 +274,7 @@ static int Demux( demux_t *p_demux )
     else
         block_Release( p_block );
 
-    return 1;
+    return VLC_DEMUXER_SUCCESS;
 }
 
 /*****************************************************************************



More information about the vlc-commits mailing list