ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Tue Sep 28 14:25:59 2021 +0200| [30c802f3aebc8c42de6962127bd50bac01be36e2] | committer: Andreas Rheinhardt
avcodec/dpxenc: Remove redundant pixel format check ff_encode_preinit() already checked the pixel format via AVCodec.pix_fmts. Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=30c802f3aebc8c42de6962127bd50bac01be36e2 --- libavcodec/dpxenc.c | 3 --- 1 file changed, 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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
