[FFmpeg-devel] [PATCH]lavc/x264:Refuse RGB24 as input pix_fmt
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jun 9 08:45:00 CEST 2015
Hi!
Attached patch works around ticket #4287 here.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 9020a40..5736c6c 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -755,7 +755,6 @@ static const enum AVPixelFormat pix_fmts_8bit_rgb[] = {
#ifdef X264_CSP_BGR
AV_PIX_FMT_BGR0,
AV_PIX_FMT_BGR24,
- AV_PIX_FMT_RGB24,
#endif
AV_PIX_FMT_NONE
};
More information about the ffmpeg-devel
mailing list