[vlc-devel] [PATCHv2 06/10] es_out: assert that queries are valid
Thomas Guillem
thomas at gllm.fr
Thu Feb 27 16:19:13 CET 2020
---
src/input/es_out.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index efe0eea13d0..8565aacf303 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3223,10 +3223,7 @@ static int EsOutVaControlLocked( es_out_t *out, int i_query, va_list args )
return input_DecoderSetSpuHighlight( p_es->p_dec, spu_hl );
return VLC_EGENERIC;
}
- default:
- msg_Err( p_sys->p_input, "unknown query 0x%x in %s", i_query,
- __func__ );
- return VLC_EGENERIC;
+ default: vlc_assert_unreachable();
}
}
--
2.20.1
More information about the vlc-devel
mailing list