mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/videotoolboxenc: fix RGB support
This commit is contained in:
parent
e55db79612
commit
7644c6224f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue