1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

lavc/videotoolboxenc: fix RGB support

This commit is contained in:
rcombs 2021-12-16 17:26:41 -06:00
parent e55db79612
commit 7644c6224f

View File

@ -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;