瀏覽代碼

codec: Fix `pragma GCC diagnostic pop` missing corresponding push

comex 5 年之前
父節點
當前提交
4681e1ea9e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/video_core/command_classes/codecs/codec.h

+ 1 - 0
src/video_core/command_classes/codecs/codec.h

@@ -10,6 +10,7 @@
 
 extern "C" {
 #if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wconversion"
 #endif
 #include <libavcodec/avcodec.h>