Commit 17cb05fe authored by Clément Bœsch's avatar Clément Bœsch

avfilter/lavfutils: use av_frame_free for freeing an AVFrame

parent 546d69eb
......@@ -96,7 +96,7 @@ end:
av_free_packet(&pkt);
avcodec_close(codec_ctx);
avformat_close_input(&format_ctx);
av_freep(&frame);
av_frame_free(&frame);
if (ret < 0)
av_log(log_ctx, AV_LOG_ERROR, "Error loading image file '%s'\n", filename);
......
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