mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 13:50:50 +08:00
examples/muxing: use av_frame_free() in place of av_free()
This commit is contained in:
@@ -457,7 +457,7 @@ static void close_video(AVFormatContext *oc, AVStream *st)
|
||||
avcodec_close(st->codec);
|
||||
av_free(src_picture.data[0]);
|
||||
av_free(dst_picture.data[0]);
|
||||
av_free(frame);
|
||||
av_frame_free(&frame);
|
||||
}
|
||||
|
||||
/**************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user