[vlc-commits] demux: subtitle: fix unknown query flood

Francois Cartegnie git at videolan.org
Tue Jan 24 16:49:44 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jan 24 16:25:15 2017 +0100| [f0859ebb23c98c6b5900e148f9dbf61a9e723f1e] | committer: Francois Cartegnie

demux: subtitle: fix unknown query flood

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

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

diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 1d25cf1..46f46ea 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -716,10 +716,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
         case DEMUX_GET_TITLE_INFO:
         case DEMUX_HAS_UNSUPPORTED_META:
         case DEMUX_CAN_RECORD:
-            return VLC_EGENERIC;
-
         default:
-            msg_Err( p_demux, "unknown query %d in subtitle control", i_query );
             return VLC_EGENERIC;
     }
 }



More information about the vlc-commits mailing list