Commit 8d22d37e authored by Stefano Sabatini's avatar Stefano Sabatini

examples/muxing: use av_frame_free() in place of av_free()

parent 9abe4a10
......@@ -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);
}
/**************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment