Showing the changes to libavfilter/framesync.c (1 of 20 files). Show all
Unified · Split
| @@ -288,7 +288,7 @@ int ff_framesync_get_frame(FFFrameSync *fs, unsigned in, AVFrame **rframe, · 287 unmodified lines | |||
| 288 | if (need_copy) { | 288 | if (need_copy) { |
| 289 | if (!(frame = av_frame_clone(frame))) | 289 | if (!(frame = av_frame_clone(frame))) |
| 290 | return AVERROR(ENOMEM); | 290 | return AVERROR(ENOMEM); |
| 291 | if ((ret = av_frame_make_writable(frame)) < 0) { | 291 | if ((ret = ff_inlink_make_frame_writable(fs->parent->inputs[in], &frame) < 0)) { |
| 292 | av_frame_free(&frame); | 292 | av_frame_free(&frame); |
| 293 | return ret; | 293 | return ret; |
| 294 | } | 294 | } |