diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-03 16:46:44 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-08 16:36:39 +0100 |
commit | 1761ab838c75223a6b97d8c0720d09275374c53d (patch) | |
tree | ebf48492a61c5ab7ba46ba28405132f755adeb26 /libavcodec/avcodec.h | |
parent | 02b7c630875c0bc63cee5ec597aa33baf9bf4e20 (diff) | |
download | ffmpeg-1761ab838c75223a6b97d8c0720d09275374c53d.tar.gz |
lavc: Deprecate avctx.rc_strategy
Only used by libxvid in ratecontrol module, so move it to a codec
private option.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 08f50a1f0c..e8be1968c3 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1342,9 +1342,11 @@ typedef struct AVCodecContext { */ float b_quant_factor; - /** obsolete FIXME remove */ - int rc_strategy; +#if FF_API_RC_STRATEGY + /** @deprecated use codec private option instead */ + attribute_deprecated int rc_strategy; #define FF_RC_STRATEGY_XVID 1 +#endif int b_frame_strategy; |