diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-13 11:55:40 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-13 13:02:21 -0500 |
commit | 0ee440fe38e2dc355aeb88e72209747c38aab593 (patch) | |
tree | 2f1eedd984248797f1d09a162dfb84af288f4368 | |
parent | b35e5d985dd12acf9a0aaa52334134edcf35d68e (diff) | |
download | ffmpeg-0ee440fe38e2dc355aeb88e72209747c38aab593.tar.gz |
asyncts: cosmetics: reindent
-rw-r--r-- | libavfilter/af_asyncts.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c index 02dce5b916..faefdf4be7 100644 --- a/libavfilter/af_asyncts.c +++ b/libavfilter/af_asyncts.c @@ -158,19 +158,19 @@ static int request_frame(AVFilterLink *link) handle_trimming(ctx); if (nb_samples = get_delay(s)) { - AVFilterBufferRef *buf = ff_get_audio_buffer(link, AV_PERM_WRITE, - nb_samples); - if (!buf) - return AVERROR(ENOMEM); - ret = avresample_convert(s->avr, buf->extended_data, - buf->linesize[0], nb_samples, NULL, 0, 0); - if (ret <= 0) { - avfilter_unref_bufferp(&buf); - return (ret < 0) ? ret : AVERROR_EOF; - } + AVFilterBufferRef *buf = ff_get_audio_buffer(link, AV_PERM_WRITE, + nb_samples); + if (!buf) + return AVERROR(ENOMEM); + ret = avresample_convert(s->avr, buf->extended_data, + buf->linesize[0], nb_samples, NULL, 0, 0); + if (ret <= 0) { + avfilter_unref_bufferp(&buf); + return (ret < 0) ? ret : AVERROR_EOF; + } - buf->pts = s->pts; - return ff_filter_frame(link, buf); + buf->pts = s->pts; + return ff_filter_frame(link, buf); } } |