mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
lavc: reindent a few decoders after previous commits
This commit is contained in:
parent
22ebbda637
commit
b5451d88cf
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user