On 01/28/2012 08:04 AM, Aneesh Dogra wrote: > Note: This fixes a GCC warning. > > Signed-off-by: Aneesh Dogra <[email protected]> > --- > libavcodec/sunrast.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c > index b21c260..c7af1fd 100644 > --- a/libavcodec/sunrast.c > +++ b/libavcodec/sunrast.c > @@ -93,7 +93,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void > *data, > av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n"); > return -1; > } > - 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; > }
Please include the warning that is fixed in your commit message. Thanks, Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
