[FFmpeg-cvslog] avfilter/buffersrc: reindent

Clément Bœsch git at videolan.org
Sun Jun 29 13:30:14 CEST 2014


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Jun 29 13:26:04 2014 +0200| [b18d1b094e90f3d3d48543eaa39e0c65ee474e65] | committer: Clément Bœsch

avfilter/buffersrc: reindent

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

 libavfilter/buffersrc.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index bb44e45..27d3db0 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -379,13 +379,13 @@ static av_cold int init_audio(AVFilterContext *ctx)
 
     if (s->channel_layout_str) {
         int n;
-        /* TODO reindent */
-    s->channel_layout = av_get_channel_layout(s->channel_layout_str);
-    if (!s->channel_layout) {
-        av_log(ctx, AV_LOG_ERROR, "Invalid channel layout %s.\n",
-               s->channel_layout_str);
-        return AVERROR(EINVAL);
-    }
+
+        s->channel_layout = av_get_channel_layout(s->channel_layout_str);
+        if (!s->channel_layout) {
+            av_log(ctx, AV_LOG_ERROR, "Invalid channel layout %s.\n",
+                   s->channel_layout_str);
+            return AVERROR(EINVAL);
+        }
         n = av_get_channel_layout_nb_channels(s->channel_layout);
         if (s->channels) {
             if (n != s->channels) {



More information about the ffmpeg-cvslog mailing list