summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 1fb75027dc..21c7205b24 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1899,8 +1899,7 @@ static int video_thread(void *arg)
}
the_end:
#if CONFIG_AVFILTER
- avfilter_graph_free(graph);
- av_freep(&graph);
+ avfilter_graph_free(&graph);
#endif
av_free(frame);
return 0;