[vlc-devel] [PATCH] cvpx: fix forgotten braces around error case
Alexandre Janniaux
ajanni at videolabs.io
Tue Aug 25 18:50:04 CEST 2020
---
modules/video_chroma/cvpx.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/video_chroma/cvpx.c b/modules/video_chroma/cvpx.c
index d437313be9..f3ece81632 100644
--- a/modules/video_chroma/cvpx.c
+++ b/modules/video_chroma/cvpx.c
@@ -361,8 +361,10 @@ static int Open(vlc_object_t *obj)
{
if (p_filter->vctx_in == NULL ||
vlc_video_context_GetType(p_filter->vctx_in) != VLC_VIDEO_CONTEXT_CVPX)
- ret = VLC_EGENERIC;
- goto error;
+ {
+ ret = VLC_EGENERIC;
+ goto error;
+ }
}
p_filter->fmt_out.i_codec = p_filter->fmt_out.video.i_chroma;
--
2.27.0
More information about the vlc-devel
mailing list