[vlc-commits] subsdelay: unknown command is impossible, assert
Rémi Denis-Courmont
git at videolan.org
Sun May 19 19:20:19 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 19 20:03:49 2019 +0300| [b108caa9b9446b86c2421e7cf55a08ad47dee177] | committer: Rémi Denis-Courmont
subsdelay: unknown command is impossible, assert
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b108caa9b9446b86c2421e7cf55a08ad47dee177
---
modules/spu/subsdelay.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/spu/subsdelay.c b/modules/spu/subsdelay.c
index eb26cfaf52..8b961e7de2 100644
--- a/modules/spu/subsdelay.c
+++ b/modules/spu/subsdelay.c
@@ -482,8 +482,7 @@ static int SubsdelayCallback( vlc_object_t *p_this, char const *psz_var, vlc_val
}
else
{
- SubsdelayHeapUnlock( &p_sys->heap );
- return VLC_ENOVAR;
+ vlc_assert_unreachable();
}
SubsdelayRecalculateDelays( (filter_t *) p_this );
More information about the vlc-commits
mailing list