FastLED 3.9.15
Loading...
Searching...
No Matches

◆ plm_buffer_destroy()

void fl::third_party::plm_buffer_destroy ( plm_buffer_t * self)

Definition at line 855 of file pl_mpeg.hpp.

855 {
856#ifndef PLM_NO_STDIO
857 if (self->fh && self->close_when_done) {
858 fclose(self->fh);
859 }
860#endif
861 if (self->free_when_done) {
862 PLM_FREE(self->bytes);
863 }
864 PLM_FREE(self);
865}
int fclose(FILE *file)
Close a file.
Definition file_io.h:250
#define PLM_FREE(p)
Definition pl_mpeg.hpp:180

References fl::fclose(), FL_NOEXCEPT, and PLM_FREE.

Referenced by plm_audio_destroy(), plm_demux_destroy(), and plm_video_destroy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: