You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/zmbvenc: Remove redundant pixel format check
ff_encode_preinit() already checked the pixel format via AVCodec.pix_fmts. Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -347,9 +347,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
c->fmt = ZMBV_FMT_32BPP;
|
||||
c->bypp = 4;
|
||||
break;
|
||||
default:
|
||||
av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n");
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
||||
/* Entropy-based score tables for comparing blocks.
|
||||
|
Reference in New Issue
Block a user