[FFmpeg-cvslog] v210enc: remove redundant check for pix_fmt
Paul B Mahol
git at videolan.org
Sat Feb 11 01:35:50 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Feb 5 21:14:33 2012 +0000| [f98ede7e610da644d3e5d553fc5d7102cf1ccde7] | committer: Justin Ruggles
v210enc: remove redundant check for pix_fmt
Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f98ede7e610da644d3e5d553fc5d7102cf1ccde7
---
libavcodec/v210enc.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 714b6fb..d5445cb 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);
More information about the ffmpeg-cvslog
mailing list