asyncts: cosmetics: reindent
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 13 Dec 2012 16:55:40 +0000 (11:55 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 13 Dec 2012 18:02:21 +0000 (13:02 -0500)
libavfilter/af_asyncts.c

index 02dce5b..faefdf4 100644 (file)
@@ -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);
         }
     }