Skip to content
Snippets Groups Projects
Commit 0413a69b authored by Johannes Kauffmann's avatar Johannes Kauffmann Committed by Steve Lhomme
Browse files

libaribcaption: use ARRAY_SIZE

parent cd3c1f62
No related branches found
No related tags found
1 merge request!4802opencv_wrapper/libaribcaption: scope structure members locally
......@@ -418,7 +418,10 @@ static int Open(vlc_object_t *p_this)
if (p_sys->psz_cfg_font_name) {
const char* font_families[] = { p_sys->psz_cfg_font_name };
aribcc_renderer_set_default_font_family(p_renderer, font_families, 1, true);
aribcc_renderer_set_default_font_family(p_renderer,
font_families,
ARRAY_SIZE(font_families),
true);
}
p_dec->p_sys = p_sys;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment