avcodec/prores_metadata_bsf : fix colorspace check

Report by coverity
CID 1441165
This commit is contained in:
Martin Vignali 2018-11-13 10:52:52 +01:00
parent 7992c2867e
commit 13ee107afd

View File

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