[vlc-commits] demux: asf: use VLC_DEMUX

Francois Cartegnie git at videolan.org
Mon Apr 10 18:30:04 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 10 18:28:20 2017 +0200| [ecb0e51135f725735c471c446a84e8e2c2bade18] | committer: Francois Cartegnie

demux: asf: use VLC_DEMUX

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

 modules/demux/asf/asf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 64ab6f8014..ccaeeb3d06 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -266,7 +266,7 @@ static int Demux( demux_t *p_demux )
                     vlc_dialog_display_error( p_demux,
                         _("Could not demux ASF stream"), "%s",
                         _("VLC failed to load the ASF header.") );
-                    return 0;
+                    return VLC_DEMUXER_EOF;
                 }
                 es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
             }



More information about the vlc-commits mailing list