summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-05-22 03:22:16 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-22 03:22:16 +0200
commit566be4f9e88698f272aeaad88b5960b15f5f5316 (patch)
treea140711ab17f6cf6000d8ef9a06e6b02948253f5 /libavformat/matroskaenc.c
parent2062d51275bda642cfc72952ddef1b0efdde4c2d (diff)
avformat/matroskaenc: reindent after last commit
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index e1e02a11a7..6252de88be 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -948,14 +948,14 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv,
}
if (par->codec_type == AVMEDIA_TYPE_AUDIO) {
- if (!bit_depth && par->codec_id != AV_CODEC_ID_ADPCM_G726) {
- if (par->bits_per_raw_sample)
- bit_depth = par->bits_per_raw_sample;
- else
- bit_depth = av_get_bytes_per_sample(par->format) << 3;
- }
- if (!bit_depth)
- bit_depth = par->bits_per_coded_sample;
+ if (!bit_depth && par->codec_id != AV_CODEC_ID_ADPCM_G726) {
+ if (par->bits_per_raw_sample)
+ bit_depth = par->bits_per_raw_sample;
+ else
+ bit_depth = av_get_bytes_per_sample(par->format) << 3;
+ }
+ if (!bit_depth)
+ bit_depth = par->bits_per_coded_sample;
}
if (par->codec_id == AV_CODEC_ID_AAC) {