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

Function mjpeg_encode_close

libavcodec/mjpegenc.c:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306static av_cold int mjpeg_encode_close(AVCodecContext *avctx)
307{
308 MJPEGEncContext *const mjpeg = avctx->priv_data;
309 av_freep(&mjpeg->mjpeg.huff_buffer);
310 ff_mpv_encode_end(avctx);
311 return 0;
312}
313
314/**
315 * Add code and table_id to the JPEG buffer.

Callers

nothing calls this directly

Calls 2

av_freepFunction · 0.85
ff_mpv_encode_endFunction · 0.85

Tested by

no test coverage detected