Browse Source

Cosmetics: Reindent after last commit.

tags/n2.8
Carl Eugen Hoyos 10 years ago
parent
commit
6b2bb3d231
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      libavformat/mxfdec.c

+ 7
- 7
libavformat/mxfdec.c View File

@@ -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;
}
}
}
}


Loading…
Cancel
Save