diff options
author | rcombs <rcombs@rcombs.me> | 2021-12-16 17:26:41 -0600 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2021-12-22 18:38:40 -0600 |
commit | 7644c6224f327de23d2532d879aa36a31fe46bf4 (patch) | |
tree | 9376d5b14bcb8348e04112dc5f21e8b7cbb6022a | |
parent | e55db79612cb39053442b69d911740ed47cb8347 (diff) | |
download | ffmpeg-7644c6224f327de23d2532d879aa36a31fe46bf4.tar.gz |
lavc/videotoolboxenc: fix RGB support
-rw-r--r-- | libavcodec/videotoolboxenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |