lavfi/framesync: remove an invalid free.

This commit is contained in:
Nicolas George 2018-01-02 14:51:18 +01:00
parent 9ace76697a
commit 29b5f3115d
1 changed files with 1 additions and 1 deletions

View File

@ -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); ret = ff_inlink_make_frame_writable(fs->parent->inputs[0], f0);
if (ret < 0) { if (ret < 0) {
av_frame_free(f0); av_frame_free(f0);
av_frame_free(f1); *f1 = NULL;
return ret; return ret;
} }
return 0; return 0;