[FFmpeg-cvslog] lavfi/abuffersink: fix weird indent and spacing

Stefano Sabatini git at videolan.org
Sun Feb 24 23:46:07 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Feb  3 21:12:37 2013 +0100| [566560b85c3767170a0c0bb9d0dcb6b10110cea9] | committer: Stefano Sabatini

lavfi/abuffersink: fix weird indent and spacing

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=566560b85c3767170a0c0bb9d0dcb6b10110cea9
---

 libavfilter/sink_buffer.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c
index ea0cf06..9a99b56 100644
--- a/libavfilter/sink_buffer.c
+++ b/libavfilter/sink_buffer.c
@@ -300,7 +300,7 @@ static av_cold int asink_init(AVFilterContext *ctx, const char *args, void *opaq
     AVABufferSinkParams *params = opaque;
 
     if (params && params->sample_fmts) {
-        buf->sample_fmts     = ff_copy_int_list  (params->sample_fmts);
+        buf->sample_fmts = ff_copy_int_list(params->sample_fmts);
         if (!buf->sample_fmts)
             return AVERROR(ENOMEM);
     }
@@ -342,9 +342,9 @@ static int asink_query_formats(AVFilterContext *ctx)
     AVFilterChannelLayouts *layouts = NULL;
 
     if (buf->sample_fmts) {
-    if (!(formats = ff_make_format_list(buf->sample_fmts)))
-        return AVERROR(ENOMEM);
-    ff_set_common_formats(ctx, formats);
+        if (!(formats = ff_make_format_list(buf->sample_fmts)))
+            return AVERROR(ENOMEM);
+        ff_set_common_formats(ctx, formats);
     }
 
     if (buf->channel_layouts || buf->all_channel_counts) {



More information about the ffmpeg-cvslog mailing list