diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2018-11-13 10:52:52 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2018-11-13 11:39:14 +0100 |
commit | 13ee107afd3d5c3fb6888d754b715fef67fec543 (patch) | |
tree | 0a228e06641856c87c1494b42431700766751c9e | |
parent | 7992c2867efc79eb8e9983e15a7ba998d6c48ffd (diff) | |
download | ffmpeg-13ee107afd3d5c3fb6888d754b715fef67fec543.tar.gz |
avcodec/prores_metadata_bsf : fix colorspace check
Report by coverity
CID 1441165
-rw-r--r-- | libavcodec/prores_metadata_bsf.c | 2 |
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; |