Commit 30c802f3 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/dpxenc: Remove redundant pixel format check

ff_encode_preinit() already checked the pixel format via
AVCodec.pix_fmts.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 39d28ea4
......@@ -68,9 +68,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
if (avctx->bits_per_raw_sample)
s->bits_per_component = avctx->bits_per_raw_sample;
break;
default:
av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n");
return -1;
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment