| 629 | } |
| 630 | |
| 631 | static av_cold int vaapi_encode_mpeg2_close(AVCodecContext *avctx) |
| 632 | { |
| 633 | VAAPIEncodeMPEG2Context *priv = avctx->priv_data; |
| 634 | |
| 635 | ff_cbs_fragment_free(&priv->current_fragment); |
| 636 | ff_cbs_close(&priv->cbc); |
| 637 | |
| 638 | return ff_vaapi_encode_close(avctx); |
| 639 | } |
| 640 | |
| 641 | #define OFFSET(x) offsetof(VAAPIEncodeMPEG2Context, x) |
| 642 | #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
nothing calls this directly
no test coverage detected