diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-10 02:54:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-10 02:54:24 +0100 |
commit | f6a8c77afb86f8aff61434426a19edecb391324d (patch) | |
tree | 7bcede4b469225d509755b2411bd73fa05f0bd59 | |
parent | 9889b29ff4b01bebd0d706cda7221dc5f54fe5a8 (diff) | |
download | ffmpeg-f6a8c77afb86f8aff61434426a19edecb391324d.tar.gz |
avcodec/utils: Fix warning: comparison between enum foo and enum bar [-Wenum-compare]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index c6b09a0043..5ee6893183 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -3023,8 +3023,8 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) if (enc->colorspace != AVCOL_SPC_UNSPECIFIED || enc->color_primaries != AVCOL_PRI_UNSPECIFIED || enc->color_trc != AVCOL_TRC_UNSPECIFIED) { - if (enc->colorspace != enc->color_primaries || - enc->colorspace != enc->color_trc) { + if (enc->colorspace != (int)enc->color_primaries || + enc->colorspace != (int)enc->color_trc) { new_line = 1; av_strlcatf(detail, sizeof(detail), "%s/%s/%s, ", av_color_space_name(enc->colorspace), |