MCPcopy Create free account
hub / github.com/FFMS/ffms2 / Free

Method Free

src/core/videosource.cpp:730–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730void FFMS_VideoSource::Free() {
731 av_freep(&RPUBuffer);
732 av_freep(&HDR10PlusBuffer);
733 avcodec_free_context(&CodecContext);
734 avformat_close_input(&FormatContext);
735 if (SWS)
736 sws_freeContext(SWS);
737 av_freep(&SWSFrameData[0]);
738 av_frame_free(&DecodeFrame);
739 av_frame_free(&LastDecodedFrame);
740 av_packet_free(&StashedPacket);
741}
742
743void FFMS_VideoSource::DecodeNextFrame(int64_t &AStartTime, int64_t &Pos) {
744 AStartTime = -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected