X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmxfenc.c;h=84ce979c610a62efac1f29f9ed8b1a2eda2817b6;hb=b84232694ef0c6897e82b52326c9ea4027c69ec4;hp=db7d2bf4552a0f1669d52d560496263a2b42419e;hpb=1789e46d34c11da6067f7035f9221ecc49e79552;p=ffmpeg diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index db7d2bf4552..84ce979c610 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +/* + * signal_standard, color_siting and klv_fill_key version fixes sponsored by NOA GmbH + */ + /* * References * SMPTE 336M KLV Data Encoding Protocol Using Key-Length-Value @@ -2056,7 +2060,7 @@ static int mxf_write_header(AVFormatContext *s) sc->color_siting = 0xFF; if (pix_desc) { - sc->component_depth = pix_desc->comp[0].depth_minus1 + 1; + sc->component_depth = pix_desc->comp[0].depth; sc->h_chroma_sub_sample = 1 << pix_desc->log2_chroma_w; } switch (ff_choose_chroma_location(s, st)) {