diff options
author | Clément Bœsch <u@pkh.me> | 2016-02-26 22:15:20 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-02-26 22:15:20 +0100 |
commit | b5451d88cf8b0e165ae357f49254a66828351a56 (patch) | |
tree | b9f5d2927b17883a1114f2059cb0b64fb9587bb4 /libavcodec/srtenc.c | |
parent | 22ebbda637257a432c99330ca4c6024665418f0e (diff) | |
download | ffmpeg-b5451d88cf8b0e165ae357f49254a66828351a56.tar.gz |
lavc: reindent a few decoders after previous commits
Diffstat (limited to 'libavcodec/srtenc.c')
-rw-r--r-- | libavcodec/srtenc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/srtenc.c b/libavcodec/srtenc.c index 9c8aefc66c..51439843b9 100644 --- a/libavcodec/srtenc.c +++ b/libavcodec/srtenc.c @@ -248,12 +248,11 @@ static int encode_frame(AVCodecContext *avctx, if (!strncmp(ass, "Dialogue: ", 10)) { int num; dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); - // TODO reindent - for (; dialog && num--; dialog++) { - s->alignment_applied = 0; - srt_style_apply(s, dialog->style); - ff_ass_split_override_codes(cb, s, dialog->text); - } + for (; dialog && num--; dialog++) { + s->alignment_applied = 0; + srt_style_apply(s, dialog->style); + ff_ass_split_override_codes(cb, s, dialog->text); + } } else { #endif dialog = ff_ass_split_dialog2(s->ass_ctx, ass); |