lavc: reindent a few decoders after previous commits

This commit is contained in:
Clément Bœsch 2016-02-26 22:15:20 +01:00
parent 22ebbda637
commit b5451d88cf
3 changed files with 43 additions and 46 deletions

View File

@ -343,7 +343,6 @@ static int mov_text_encode_frame(AVCodecContext *avctx, unsigned char *buf,
if (!strncmp(ass, "Dialogue: ", 10)) {
int num;
dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num);
// TODO reindent
for (; dialog && num--; dialog++) {
ff_ass_split_override_codes(&mov_text_callbacks, s, dialog->text);
}

View File

@ -248,7 +248,6 @@ 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);

View File

@ -156,7 +156,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
{
ASSContext *ass = s->priv_data;
// TODO: reindent
long int layer;
char *p = pkt->data;
int64_t start = pkt->pts;