diff options
author | James Almer <jamrial@gmail.com> | 2018-09-21 16:18:36 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-09-26 15:17:14 -0300 |
commit | 819e4e79797e3f23cc4bc3c523735f9a710fceae (patch) | |
tree | d9cd35c97d578f2280797a370a4e39f39cded616 | |
parent | 8439656503e9189bc34dcb71aa3fc76a20d6a4b2 (diff) | |
download | ffmpeg-819e4e79797e3f23cc4bc3c523735f9a710fceae.tar.gz |
avformat/matroskaenc: reindent after the previous commit
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/matroskaenc.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 4d837c7e60..e88d107a90 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1249,19 +1249,19 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv, } } } else if (par->codec_id == AV_CODEC_ID_WEBVTT) { - if (st->disposition & AV_DISPOSITION_CAPTIONS) { - codec_id = "D_WEBVTT/CAPTIONS"; - native_id = MATROSKA_TRACK_TYPE_SUBTITLE; - } else if (st->disposition & AV_DISPOSITION_DESCRIPTIONS) { - codec_id = "D_WEBVTT/DESCRIPTIONS"; - native_id = MATROSKA_TRACK_TYPE_METADATA; - } else if (st->disposition & AV_DISPOSITION_METADATA) { - codec_id = "D_WEBVTT/METADATA"; - native_id = MATROSKA_TRACK_TYPE_METADATA; - } else { - codec_id = "D_WEBVTT/SUBTITLES"; - native_id = MATROSKA_TRACK_TYPE_SUBTITLE; - } + if (st->disposition & AV_DISPOSITION_CAPTIONS) { + codec_id = "D_WEBVTT/CAPTIONS"; + native_id = MATROSKA_TRACK_TYPE_SUBTITLE; + } else if (st->disposition & AV_DISPOSITION_DESCRIPTIONS) { + codec_id = "D_WEBVTT/DESCRIPTIONS"; + native_id = MATROSKA_TRACK_TYPE_METADATA; + } else if (st->disposition & AV_DISPOSITION_METADATA) { + codec_id = "D_WEBVTT/METADATA"; + native_id = MATROSKA_TRACK_TYPE_METADATA; + } else { + codec_id = "D_WEBVTT/SUBTITLES"; + native_id = MATROSKA_TRACK_TYPE_SUBTITLE; + } } if (!native_id) { |