aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Vignali2018-11-13 10:52:52 +0100
committerMartin Vignali2018-11-13 11:39:14 +0100
commit13ee107afd3d5c3fb6888d754b715fef67fec543 (patch)
tree0a228e06641856c87c1494b42431700766751c9e /libavcodec
parent7992c2867efc79eb8e9983e15a7ba998d6c48ffd (diff)
avcodec/prores_metadata_bsf : fix colorspace check
Report by coverity CID 1441165
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/prores_metadata_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/prores_metadata_bsf.c b/libavcodec/prores_metadata_bsf.c
index cc7a2b89f4..0510d3520a 100644
--- a/libavcodec/prores_metadata_bsf.c
+++ b/libavcodec/prores_metadata_bsf.c
@@ -115,7 +115,7 @@ static int prores_metadata_init(AVBSFContext *bsf)
switch (ctx->matrix_coefficients) {
case -1:
case 0:
- case AVCOL_PRI_BT709:
+ case AVCOL_SPC_BT709:
case AVCOL_SPC_SMPTE170M:
case AVCOL_SPC_BT2020_NCL:
break;