Avoid setting rate multiplier as 0
[aom.git] / warnings.h
blob6b8ae6796f37cbc76904850f0e4cd9e1c99c1c41
1 /*
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10 #ifndef WARNINGS_H_
11 #define WARNINGS_H_
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 struct vpx_codec_enc_cfg;
18 struct VpxEncoderConfig;
21 * Checks config for improperly used settings. Warns user upon encountering
22 * settings that will lead to poor output quality. Prompts user to continue
23 * when warnings are issued.
25 void check_encoder_config(int disable_prompt,
26 const struct VpxEncoderConfig *global_config,
27 const struct vpx_codec_enc_cfg *stream_config);
29 #ifdef __cplusplus
30 } // extern "C"
31 #endif
33 #endif // WARNINGS_H_