vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jan 31 20:54:31 2019 +0200| [7c50a3589644a64c4fa86b15f663d518ebd9b51d] | committer: Rémi Denis-Courmont
smf: ignore invalid key sig (fixes #21857) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c50a3589644a64c4fa86b15f663d518ebd9b51d --- modules/demux/smf.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/demux/smf.c b/modules/demux/smf.c index f9f8f0db05..4c4ea44e31 100644 --- a/modules/demux/smf.c +++ b/modules/demux/smf.c @@ -233,10 +233,8 @@ int HandleMeta (demux_t *p_demux, mtrk_t *tr) break; case 0x59: /* Key signature */ - if (length == 2) - ; - else - ret = -1; + if (length != 2) + msg_Warn(p_demux, "invalid key signature"); break; case 0x7f: /* Proprietary event */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
