[vlc-commits] [Git][videolan/vlc][master] gstdecode: fix FTBFS with braces inside case

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Apr 4 15:08:56 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
d02a131e by Johannes Kauffmann at 2023-04-04T14:52:09+00:00
gstdecode: fix FTBFS with braces inside case

Fixes #27980

- - - - -


1 changed file:

- modules/codec/gstreamer/gstdecode.c


Changes:

=====================================
modules/codec/gstreamer/gstdecode.c
=====================================
@@ -200,10 +200,11 @@ static gboolean autoplug_query_cb( GstElement *p_bin, GstPad *p_pad,
         switch( GST_QUERY_TYPE ( p_query ) ){
         case GST_QUERY_CAPS:
             return gst_vlc_video_sink_query_caps( p_query );
-        case GST_QUERY_ALLOCATION:
+        case GST_QUERY_ALLOCATION: {
             GstBaseSink *p_bsink = GST_BASE_SINK_CAST( p_sys->p_decode_out );
             GstBaseSinkClass *p_bclass = GST_BASE_SINK_GET_CLASS( p_bsink );
             return p_bclass->propose_allocation( p_bsink, p_query );
+        }
         default:
             return FALSE;
         }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d02a131e03960d364ac73ef1cba4ca03e876b626

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d02a131e03960d364ac73ef1cba4ca03e876b626
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list