aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/diracdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-08 20:47:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-08 20:47:47 +0200
commitbaee313aa9a5c277cdca803cde56257466438b99 (patch)
tree87282b76aae8c89000eb64f92d035302cc600b6d /libavcodec/diracdec.c
parent552ce6874c8a6798edb17b685472aebb86381caa (diff)
downloadffmpeg-baee313aa9a5c277cdca803cde56257466438b99.tar.gz
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 <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/diracdec.c')
-rw-r--r--libavcodec/diracdec.c3
1 files changed, 2 insertions, 1 deletions
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] = {