From 5d8e836d0ec3bcaabf5bc2020210a1bc61975922 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 8 Sep 2015 17:10:48 +0200 Subject: Replace all remaining occurances of step/depth_minus1 and offset_plus1 --- libavformat/mxfenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mxfenc.c') diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 142c8708d9..546d983aef 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -2058,7 +2058,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)) { -- cgit v1.2.3