From baee313aa9a5c277cdca803cde56257466438b99 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 8 Sep 2014 20:47:47 +0200 Subject: [PATCH] avcodec/diracdec: Fix "warning: comparison of constant 4 with expression of type enum dirac_subband is always true [-Wtautological-constant-out-of-range-compare]" Signed-off-by: Michael Niedermayer --- libavcodec/diracdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c index f67339752f..c03f45c928 100644 --- a/libavcodec/diracdec.c +++ b/libavcodec/diracdec.c @@ -234,7 +234,8 @@ enum dirac_subband { subband_ll = 0, subband_hl = 1, subband_lh = 2, - subband_hh = 3 + subband_hh = 3, + subband_nb, }; static const uint8_t default_qmat[][4][4] = {