1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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;