diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-18 00:34:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-18 01:20:18 +0100 |
commit | 8beeec8821bd78d8740b1ced79a03322646f3578 (patch) | |
tree | 3e5e181940f8d8c037231e53de03fe14bfd08a0f /libavcodec/sunrast.c | |
parent | 0db7b30700118d9d4b3ce0de8b1da94de747669e (diff) | |
download | ffmpeg-8beeec8821bd78d8740b1ced79a03322646f3578.tar.gz |
sunrast: Fix warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sunrast.c')
-rw-r--r-- | libavcodec/sunrast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 0f637399ef..3e1cea6c36 100644 --- a/libavcodec/sunrast.c +++ b/libavcodec/sunrast.c @@ -70,7 +70,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data, maplength = AV_RB32(buf+28); buf += 32; - if (type < RT_OLD || type > RT_FORMAT_IFF) { + if (type > RT_FORMAT_IFF) { av_log(avctx, AV_LOG_ERROR, "invalid (compression) type\n"); return -1; } |