aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/v210enc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-02-05 21:14:33 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-10 15:59:23 -0500
commitf98ede7e610da644d3e5d553fc5d7102cf1ccde7 (patch)
tree7cea19aa75c6b79c2b535e6fc63986b0abe2239a /libavcodec/v210enc.c
parentc388558d317f6bf8718ec3d22f4bf3540109dfe3 (diff)
downloadffmpeg-f98ede7e610da644d3e5d553fc5d7102cf1ccde7.tar.gz
v210enc: remove redundant check for pix_fmt
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/v210enc.c')
-rw-r--r--libavcodec/v210enc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 714b6fb551..d5445cb973 100644
--- a/libavcodec/v210enc.c
+++ b/libavcodec/v210enc.c
@@ -31,11 +31,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
return AVERROR(EINVAL);
}
- if (avctx->pix_fmt != PIX_FMT_YUV422P10) {
- av_log(avctx, AV_LOG_ERROR, "v210 needs YUV422P10\n");
- return -1;
- }
-
if (avctx->bits_per_raw_sample != 10)
av_log(avctx, AV_LOG_WARNING, "bits per raw sample: %d != 10-bit\n",
avctx->bits_per_raw_sample);