[FFmpeg-cvslog] lavfi/vf_ass: reindent after last commit.

Nicolas George git at videolan.org
Thu Feb 14 16:38:57 CET 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Feb 14 16:35:49 2013 +0100| [c557a5b08efe0ee311dc056ef32e67c481d5aa56] | committer: Nicolas George

lavfi/vf_ass: reindent after last commit.

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

 libavfilter/vf_ass.c |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/libavfilter/vf_ass.c b/libavfilter/vf_ass.c
index 85dd5ce..c64d940 100644
--- a/libavfilter/vf_ass.c
+++ b/libavfilter/vf_ass.c
@@ -322,13 +322,12 @@ static av_cold int init_subtitles(AVFilterContext *ctx, const char *args)
                 av_log(ctx, AV_LOG_WARNING, "Error decoding: %s (ignored)\n",
                        av_err2str(ret));
             } else if (got_subtitle) {
-                /* TODO reindent */
-            for (i = 0; i < sub.num_rects; i++) {
-                char *ass_line = sub.rects[i]->ass;
-                if (!ass_line)
-                    break;
-                ass_process_data(ass->track, ass_line, strlen(ass_line));
-            }
+                for (i = 0; i < sub.num_rects; i++) {
+                    char *ass_line = sub.rects[i]->ass;
+                    if (!ass_line)
+                        break;
+                    ass_process_data(ass->track, ass_line, strlen(ass_line));
+                }
             }
         }
         av_free_packet(&pkt);



More information about the ffmpeg-cvslog mailing list