| 1088 | } |
| 1089 | |
| 1090 | static av_cold int vaapi_encode_h265_close(AVCodecContext *avctx) |
| 1091 | { |
| 1092 | VAAPIEncodeH265Context *priv = avctx->priv_data; |
| 1093 | |
| 1094 | ff_cbs_fragment_free(&priv->current_access_unit); |
| 1095 | ff_cbs_close(&priv->cbc); |
| 1096 | av_freep(&priv->sei_a53cc_data); |
| 1097 | |
| 1098 | return ff_vaapi_encode_close(avctx); |
| 1099 | } |
| 1100 | |
| 1101 | #define OFFSET(x) offsetof(VAAPIEncodeH265Context, x) |
| 1102 | #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
nothing calls this directly
no test coverage detected