History

avfilter/af_dynaudnorm: do not enqueue flush buffers

Paul B Mahol committed 6 years ago

Commit ed025631 parent 12c4d001 file · +8 −4Browse files

Unified · Split

libavfilter/af_dynaudnorm.c+8−4
@@ -686,10 +686,14 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 685 unmodified lines
686 ret = ff_filter_frame(outlink, out);686 ret = ff_filter_frame(outlink, out);
687 }687 }
688 688
689 av_frame_make_writable(in);689 if (!s->eof) {
690 cqueue_enqueue(s->is_enabled, !ctx->is_disabled);690 av_frame_make_writable(in);
691 analyze_frame(s, in);691 cqueue_enqueue(s->is_enabled, !ctx->is_disabled);
692 ff_bufqueue_add(ctx, &s->queue, in);692 analyze_frame(s, in);
693 ff_bufqueue_add(ctx, &s->queue, in);
694 } else {
695 av_frame_free(&in);
696 }
693 697
694 return ret;698 return ret;
695}699}

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