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

Function ff_encode_flush_buffers

libavcodec/encode.c:873–881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873void ff_encode_flush_buffers(AVCodecContext *avctx)
874{
875 AVCodecInternal *avci = avctx->internal;
876
877 if (avci->in_frame)
878 av_frame_unref(avci->in_frame);
879 if (avci->recon_frame)
880 av_frame_unref(avci->recon_frame);
881}
882
883AVCodecInternal *ff_encode_internal_alloc(void)
884{

Callers 1

avcodec_flush_buffersFunction · 0.85

Calls 1

av_frame_unrefFunction · 0.85

Tested by

no test coverage detected