diff options
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 893822b3ab..712a34af31 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1218,13 +1218,15 @@ typedef struct AVCodecContext { */ enum PixelFormat pix_fmt; +#if FF_API_RATE_EMU /** * Frame rate emulation. If not zero, the lower layer (i.e. format handler) * has to read frames at native frame rate. * - encoding: Set by user. * - decoding: unused */ - int rate_emu; + attribute_deprecated int rate_emu; +#endif /** * If non NULL, 'draw_horiz_band' is called by the libavcodec @@ -1330,13 +1332,15 @@ typedef struct AVCodecContext { int b_frame_strategy; +#if FF_API_HURRY_UP /** * hurry up amount * - encoding: unused * - decoding: Set by user. 1-> Skip B-frames, 2-> Skip IDCT/dequant too, 5-> Skip everything except header * @deprecated Deprecated in favor of skip_idct and skip_frame. */ - int hurry_up; + attribute_deprecated int hurry_up; +#endif struct AVCodec *codec; |