This is possible now that MJpegContext is allocated jointly
with MpegEncContext as part of the AVCodecContext's private data.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
intdummy;///< used as target for deprecated options
#endif
}MpegEncContext;
/* mpegvideo_enc common options */
@ -664,7 +666,7 @@ FF_MPV_OPT_CMP_FUNC, \
#define FF_MPV_DEPRECATED_A53_CC_OPT \
{"a53cc","Deprecated, does nothing",FF_MPV_OFFSET(a53_cc),AV_OPT_TYPE_BOOL,{.i64=1},0,1,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},
#define FF_MPV_DEPRECATED_MATRIX_OPT \
{"force_duplicated_matrix","Deprecated, does nothing",FF_MPV_OFFSET(force_duplicated_matrix),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},
{"force_duplicated_matrix","Deprecated, does nothing",FF_MPV_OFFSET(dummy),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},
#define FF_MPV_DEPRECATED_BFRAME_OPTS \
{"b_strategy","Deprecated, does nothing",FF_MPV_OFFSET(b_frame_strategy),AV_OPT_TYPE_INT,{.i64=0},0,2,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED}, \
{"b_sensitivity","Deprecated, does nothing",FF_MPV_OFFSET(b_sensitivity),AV_OPT_TYPE_INT,{.i64=40},1,INT_MAX,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED}, \