History

avfilter/af_headphone: return on error immediately

Paul B Mahol committed 7 years ago

Commit dc332501 parent 921eb211 file · +1 −1Browse files

Unified · Split

libavfilter/af_headphone.c+1−1
@@ -709,7 +709,7 @@ static int query_formats(AVFilterContext *ctx) · 708 unmodified lines
709709 if (s->hrir_fmt == HRIR_MULTI) {
710710 hrir_layouts = ff_all_channel_counts();
711711 if (!hrir_layouts)
712− ret = AVERROR(ENOMEM);
712+ return AVERROR(ENOMEM);
713713 ret = ff_channel_layouts_ref(hrir_layouts, &ctx->inputs[1]->out_channel_layouts);
714714 if (ret)
715715 return ret;

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