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

Function vaapi_encode_mjpeg_close

libavcodec/vaapi_encode_mjpeg.c:532–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532static av_cold int vaapi_encode_mjpeg_close(AVCodecContext *avctx)
533{
534 VAAPIEncodeMJPEGContext *priv = avctx->priv_data;
535
536 ff_cbs_fragment_free(&priv->current_fragment);
537 ff_cbs_close(&priv->cbc);
538
539 return ff_vaapi_encode_close(avctx);
540}
541
542#define OFFSET(x) offsetof(VAAPIEncodeMJPEGContext, x)
543#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