Browse Source

lavfi/framesync: remove an invalid free.

tags/n4.0
Nicolas George 7 years ago
parent
commit
29b5f3115d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/framesync.c

+ 1
- 1
libavfilter/framesync.c 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);
if (ret < 0) {
av_frame_free(f0);
av_frame_free(f1);
*f1 = NULL;
return ret;
}
return 0;


Loading…
Cancel
Save