Commit 0ee440fe authored by Justin Ruggles's avatar Justin Ruggles
Browse files

asyncts: cosmetics: reindent

parent b35e5d98
...@@ -158,19 +158,19 @@ static int request_frame(AVFilterLink *link) ...@@ -158,19 +158,19 @@ static int request_frame(AVFilterLink *link)
handle_trimming(ctx); handle_trimming(ctx);
if (nb_samples = get_delay(s)) { if (nb_samples = get_delay(s)) {
AVFilterBufferRef *buf = ff_get_audio_buffer(link, AV_PERM_WRITE, AVFilterBufferRef *buf = ff_get_audio_buffer(link, AV_PERM_WRITE,
nb_samples); nb_samples);
if (!buf) if (!buf)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
ret = avresample_convert(s->avr, buf->extended_data, ret = avresample_convert(s->avr, buf->extended_data,
buf->linesize[0], nb_samples, NULL, 0, 0); buf->linesize[0], nb_samples, NULL, 0, 0);
if (ret <= 0) { if (ret <= 0) {
avfilter_unref_bufferp(&buf); avfilter_unref_bufferp(&buf);
return (ret < 0) ? ret : AVERROR_EOF; return (ret < 0) ? ret : AVERROR_EOF;
} }
buf->pts = s->pts; buf->pts = s->pts;
return ff_filter_frame(link, buf); return ff_filter_frame(link, buf);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment