vlc | branch: master | Alexandre Janniaux <[email protected]> | 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to