MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / vaapi_encode_mpeg2_close

Function vaapi_encode_mpeg2_close

libavcodec/vaapi_encode_mpeg2.c:631–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631static 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)

Callers

nothing calls this directly

Calls 1

ff_vaapi_encode_closeFunction · 0.85

Tested by

no test coverage detected