| 1052 | } |
| 1053 | |
| 1054 | static av_cold int vaapi_encode_h264_close(AVCodecContext *avctx) |
| 1055 | { |
| 1056 | VAAPIEncodeH264Context *priv = avctx->priv_data; |
| 1057 | |
| 1058 | ff_cbs_fragment_free(&priv->current_access_unit); |
| 1059 | ff_cbs_close(&priv->cbc); |
| 1060 | av_freep(&priv->sei_identifier_string); |
| 1061 | av_freep(&priv->sei_a53cc_data); |
| 1062 | |
| 1063 | return ff_vaapi_encode_close(avctx); |
| 1064 | } |
| 1065 | |
| 1066 | #define OFFSET(x) offsetof(VAAPIEncodeH264Context, x) |
| 1067 | #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
nothing calls this directly
no test coverage detected