lib/ffmpeg/Frame: add av_frame_unref() wrapper
This commit is contained in:
parent
977a4570d9
commit
054a7557fa
|
@ -58,6 +58,10 @@ public:
|
|||
return frame;
|
||||
}
|
||||
|
||||
void Unref() noexcept {
|
||||
av_frame_unref(frame);
|
||||
}
|
||||
|
||||
void GetBuffer() {
|
||||
int err = av_frame_get_buffer(frame, 0);
|
||||
if (err < 0)
|
||||
|
|
Loading…
Reference in New Issue