[vlc-commits] ASF: remove dialog_display_error

Jean-Baptiste Kempf git at videolan.org
Tue Jul 24 18:23:06 CEST 2018


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jul 24 18:22:16 2018 +0200| [65aa0fbfe56b4e8a9a5eb9aa371eb87250bc4ecc] | committer: Jean-Baptiste Kempf

ASF: remove dialog_display_error

This could happen on a corrupted stream, there is already a msg_Err and
a failure for the core...

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

 modules/demux/asf/asf.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 469fa6d46d..89f1ae671c 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -263,9 +263,6 @@ static int Demux( demux_t *p_demux )
                 if( DemuxInit( p_demux ) )
                 {
                     msg_Err( p_demux, "failed to load the new header" );
-                    vlc_dialog_display_error( p_demux,
-                        _("Could not demux ASF stream"), "%s",
-                        _("VLC failed to load the ASF header.") );
                     return VLC_DEMUXER_EOF;
                 }
                 es_out_Control( p_demux->out, ES_OUT_RESET_PCR );



More information about the vlc-commits mailing list