]> granicus.if.org Git - libvpx/blobdiff - warnings.h
vp9 svc example: use CONFIG_VP9_DECODER guarding decoding.
[libvpx] / warnings.h
index 90b34c884c894b2e8f7096a419243ef18c6bb35e..15558c64374fb2481f1b683bc11a093620364650 100644 (file)
@@ -7,8 +7,12 @@
  *  in the file PATENTS.  All contributing project authors may
  *  be found in the AUTHORS file in the root of the source tree.
  */
-#ifndef WARNINGS_H_
-#define WARNINGS_H_
+#ifndef VPX_WARNINGS_H_
+#define VPX_WARNINGS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 struct vpx_codec_enc_cfg;
 struct VpxEncoderConfig;
@@ -20,6 +24,10 @@ struct VpxEncoderConfig;
  */
 void check_encoder_config(int disable_prompt,
                           const struct VpxEncoderConfig *global_config,
-                          struct vpx_codec_enc_cfg *stream_config);
+                          const struct vpx_codec_enc_cfg *stream_config);
+
+#ifdef __cplusplus
+}  // extern "C"
+#endif
 
-#endif  // WARNINGS_H_
+#endif  // VPX_WARNINGS_H_