Showing the changes to libavfilter/framesync.c (1 of 1 file). Show all
Unified · Split
| @@ -406,7 +406,7 @@ int ff_framesync_dualinput_get_writable(FFFrameSync *fs, AVFrame **f0, AVFrame * · 405 unmodified lines | ||
| 406 | 406 | ret = ff_inlink_make_frame_writable(fs->parent->inputs[0], f0); |
| 407 | 407 | if (ret < 0) { |
| 408 | 408 | av_frame_free(f0); |
| 409 | − av_frame_free(f1); | |
| 409 | + *f1 = NULL; | |
| 410 | 410 | return ret; |
| 411 | 411 | } |
| 412 | 412 | return 0; |