Commit c557a5b0 authored by Nicolas George's avatar Nicolas George

lavfi/vf_ass: reindent after last commit.

parent bb3303b9
...@@ -322,13 +322,12 @@ static av_cold int init_subtitles(AVFilterContext *ctx, const char *args) ...@@ -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_log(ctx, AV_LOG_WARNING, "Error decoding: %s (ignored)\n",
av_err2str(ret)); av_err2str(ret));
} else if (got_subtitle) { } else if (got_subtitle) {
/* TODO reindent */ for (i = 0; i < sub.num_rects; i++) {
for (i = 0; i < sub.num_rects; i++) { char *ass_line = sub.rects[i]->ass;
char *ass_line = sub.rects[i]->ass; if (!ass_line)
if (!ass_line) break;
break; ass_process_data(ass->track, ass_line, strlen(ass_line));
ass_process_data(ass->track, ass_line, strlen(ass_line)); }
}
} }
} }
av_free_packet(&pkt); av_free_packet(&pkt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment