diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-28 14:25:59 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 16:30:19 +0200 |
commit | 30c802f3aebc8c42de6962127bd50bac01be36e2 (patch) | |
tree | 4a5fea7c5886e76127028c5bc1428583a241562c /libavcodec/dpxenc.c | |
parent | 39d28ea4d5bac9bb688e482990c8979ef9df954c (diff) | |
download | ffmpeg-30c802f3aebc8c42de6962127bd50bac01be36e2.tar.gz |
avcodec/dpxenc: Remove redundant pixel format check
ff_encode_preinit() already checked the pixel format via
AVCodec.pix_fmts.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dpxenc.c')
-rw-r--r-- | libavcodec/dpxenc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c index 09036a2125..0db6aa832d 100644 --- a/libavcodec/dpxenc.c +++ b/libavcodec/dpxenc.c @@ -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; |