The codec-specific context now contains both the common context and the codec-specific options directly.
Showing the changes to libavcodec/vaapi_encode_mpeg2.c (1 of 8 files). Show all
Unified · Split
| @@ -553,8 +553,6 @@ static av_cold int vaapi_encode_mpeg2_configure(AVCodecContext *avctx) · 552 unmodified lines | |||
| 553 | } | 553 | } |
| 554 | 554 | ||
| 555 | static const VAAPIEncodeType vaapi_encode_type_mpeg2 = { | 555 | static const VAAPIEncodeType vaapi_encode_type_mpeg2 = { |
| 556 | .priv_data_size = sizeof(VAAPIEncodeMPEG2Context), | ||
| 557 | |||
| 558 | .configure = &vaapi_encode_mpeg2_configure, | 556 | .configure = &vaapi_encode_mpeg2_configure, |
| 559 | 557 | ||
| 560 | .sequence_params_size = sizeof(VAEncSequenceParameterBufferMPEG2), | 558 | .sequence_params_size = sizeof(VAEncSequenceParameterBufferMPEG2), |