Remove remaining copies of encoded video

This commit is contained in:
Patrick Nicolas
2023-11-22 00:00:55 +01:00
parent e2868547e2
commit fa30ea1356
9 changed files with 49 additions and 61 deletions
+5
View File
@@ -105,6 +105,11 @@ void AvDeleter::operator()(AVFilterGraph * x)
avfilter_graph_free(&x);
}
void AvDeleter::operator()(AVPacket * x)
{
av_packet_free(&x);
}
av_frame_ptr
make_av_frame(AVFrame * frame)
{