Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-28 15:25:59 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-02 17:30:19 +0300
commit30c802f3aebc8c42de6962127bd50bac01be36e2 (patch)
tree4a5fea7c5886e76127028c5bc1428583a241562c /libavcodec/dpxenc.c
parent39d28ea4d5bac9bb688e482990c8979ef9df954c (diff)
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.c3
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;