There seems to be an indentation issue here: > + if (avctx->profile == FF_PROFILE_UNKNOWN) { > switch (avctx->codec_tag) { > case MKTAG('a','p','c','o'): and here: > av_log(avctx, AV_LOG_WARNING, "Unknown prores profile %d\n", avctx->codec_tag); > } > + }