| 728 | } |
| 729 | |
| 730 | void 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 | |
| 743 | void FFMS_VideoSource::DecodeNextFrame(int64_t &AStartTime, int64_t &Pos) { |
| 744 | AStartTime = -1; |
nothing calls this directly
no outgoing calls
no test coverage detected