Alexander Strasser <eclipse7 <at> gmx.net> writes: > > - else > > + } else if (maxval == 255) { > > avctx->pix_fmt = PIX_FMT_GRAY8; > > + } else { > > + avctx->pix_fmt = PIX_FMT_GRAY16BE; > > + } > > The two added else-lines seem to be one-off concerning the indentation. Should be fixed. Thank you, Carl Eugen