diff options
author | Nicolas George <george@nsup.org> | 2018-01-02 14:51:18 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2018-01-03 19:54:39 +0100 |
commit | 29b5f3115d9f217758bebd1d00e541aa3e739d2a (patch) | |
tree | 30f10857a4b799a7ca8077bedec201a33907d5b3 /libavfilter | |
parent | 9ace76697ac1e43aa4da4c7333ec4a296907c336 (diff) | |
download | ffmpeg-29b5f3115d9f217758bebd1d00e541aa3e739d2a.tar.gz |
lavfi/framesync: remove an invalid free.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/framesync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/framesync.c b/libavfilter/framesync.c index 82d715750c..da12c58a61 100644 --- a/libavfilter/framesync.c +++ b/libavfilter/framesync.c @@ -406,7 +406,7 @@ int ff_framesync_dualinput_get_writable(FFFrameSync *fs, AVFrame **f0, AVFrame * ret = ff_inlink_make_frame_writable(fs->parent->inputs[0], f0); if (ret < 0) { av_frame_free(f0); - av_frame_free(f1); + *f1 = NULL; return ret; } return 0; |