From e132fae1a56eab1327d5bf83f1eca3f2491cbfb3 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 29 Jun 2023 20:10:55 +0200 Subject: [PATCH] avcodec/cbs_h266: Remove double ; Fixes a warning from GCC when in pedantic mode: "extra semicolon in struct or union specified" May also fix compilation with MSVC, see https://fate.ffmpeg.org/report.cgi?time=20230629174305&slot=x86_64-msvc17-windows-native Reviewed-by: James Almer Signed-off-by: Andreas Rheinhardt --- libavcodec/cbs_h266.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 8548e501c0..03dfd4a954 100644 --- a/libavcodec/cbs_h266.h +++ b/libavcodec/cbs_h266.h @@ -80,7 +80,7 @@ typedef struct H266GeneralConstraintsInfo { /* inter */ uint8_t gci_no_ref_pic_resampling_constraint_flag; - uint8_t gci_no_res_change_in_clvs_constraint_flag;; + uint8_t gci_no_res_change_in_clvs_constraint_flag; uint8_t gci_no_weighted_prediction_constraint_flag; uint8_t gci_no_ref_wraparound_constraint_flag; uint8_t gci_no_temporal_mvp_constraint_flag; @@ -211,7 +211,7 @@ typedef struct H266RawVUI { uint8_t vui_aspect_ratio_idc; uint16_t vui_sar_width; - uint16_t vui_sar_height;; + uint16_t vui_sar_height; uint8_t vui_overscan_info_present_flag; uint8_t vui_overscan_appropriate_flag;