[vlc-commits] cvpx: fix forgotten braces around error case
Alexandre Janniaux
git at videolan.org
Mon Aug 31 19:39:48 CEST 2020
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Aug 25 18:50:04 2020 +0200| [aadce178ba9eabd44fa9678d6cb589037e46723c] | committer: Alexandre Janniaux
cvpx: fix forgotten braces around error case
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aadce178ba9eabd44fa9678d6cb589037e46723c
---
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;
More information about the vlc-commits
mailing list