Commit 13ee107a authored by Martin Vignali's avatar Martin Vignali

avcodec/prores_metadata_bsf : fix colorspace check

Report by coverity
CID 1441165
parent 7992c286
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment