History

avfilter/af_join: fix leak on error

Paul B Mahol committed 3 years ago

Commit 2de30e71 parent ffd275a1 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/af_join.c+1−1
@@ -531,7 +531,7 @@ FF_DISABLE_DEPRECATION_WARNINGS · 530 unmodified lines
531FF_ENABLE_DEPRECATION_WARNINGS531FF_ENABLE_DEPRECATION_WARNINGS
532#endif532#endif
533 if ((ret = av_channel_layout_copy(&frame->ch_layout, &outlink->ch_layout)) < 0)533 if ((ret = av_channel_layout_copy(&frame->ch_layout, &outlink->ch_layout)) < 0)
534 return ret;534 goto fail;
535 frame->sample_rate = outlink->sample_rate;535 frame->sample_rate = outlink->sample_rate;
536 frame->format = outlink->format;536 frame->format = outlink->format;
537 frame->pts = s->input_frames[0]->pts;537 frame->pts = s->input_frames[0]->pts;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t