aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-17 00:18:06 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-17 10:29:34 +0200
commit15802e78e7d704560ab12c4d063250189f5b774a (patch)
treee9f771efd0ff973ba3d85acf24e5c28a053ff549
parent031ba466331c091bd68ce757b8ae11497306b8b7 (diff)
downloadffmpeg-15802e78e7d704560ab12c4d063250189f5b774a.tar.gz
ffplay: do not erase the content of vfilters
This way the content of "vfilters" can be reused. For example when the frame size changes, the filterchain is reconfigured reusing again the vfilters value.
-rw-r--r--ffplay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index c5b26dfd46..c31bcfb607 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1702,7 +1702,6 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
if ((ret = avfilter_graph_parse(graph, vfilters, &inputs, &outputs, NULL)) < 0)
return ret;
- av_freep(&vfilters);
} else {
if ((ret = avfilter_link(filt_src, 0, filt_out, 0)) < 0)
return ret;