diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index fa8f717a6c..96e987c446 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -996,6 +996,7 @@ static int get_cv_ycbcr_matrix(AVCodecContext *avctx, CFStringRef *matrix) { break; case AVCOL_SPC_UNSPECIFIED: + case AVCOL_SPC_RGB: *matrix = NULL; break;