aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mxfdec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-07-22 10:25:10 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-07-22 10:25:10 +0200
commit6b2bb3d231f81780b0bb12193e9ca29ddf2c474a (patch)
tree41cf535b7f4039c711bbe8369254fefa8cdcc523 /libavformat/mxfdec.c
parent35b33f1a195c392bca374b3a49b7a18811effe56 (diff)
downloadffmpeg-6b2bb3d231f81780b0bb12193e9ca29ddf2c474a.tar.gz
Cosmetics: Reindent after last commit.
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r--libavformat/mxfdec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 2159bd7037..2e46b0eaec 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -2048,13 +2048,13 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
st->codec->codec_tag = mxf_get_codec_ul(ff_mxf_codec_tag_uls,
&descriptor->essence_codec_ul)->id;
if (!st->codec->codec_tag) {
- /* support files created before RP224v10 by defaulting to UYVY422
- if subsampling is 4:2:2 and component depth is 8-bit */
- if (descriptor->horiz_subsampling == 2 &&
- descriptor->vert_subsampling == 1 &&
- descriptor->component_depth == 8) {
- st->codec->pix_fmt = AV_PIX_FMT_UYVY422;
- }
+ /* support files created before RP224v10 by defaulting to UYVY422
+ if subsampling is 4:2:2 and component depth is 8-bit */
+ if (descriptor->horiz_subsampling == 2 &&
+ descriptor->vert_subsampling == 1 &&
+ descriptor->component_depth == 8) {
+ st->codec->pix_fmt = AV_PIX_FMT_UYVY422;
+ }
}
}
}