summaryrefslogtreecommitdiff
path: root/libavformat/oma.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-03-30 09:46:06 +0100
committerLuca Barbato <lu_zero@gentoo.org>2013-03-31 16:10:52 +0200
commit0933fd1533560fbc718026e12f19a4824b041237 (patch)
tree46d1fe4668a882491bcd8ea6519d0284e7cfa9a5 /libavformat/oma.h
parentf2f57d16795efa8083acef17c640bea6c08aa638 (diff)
oma: Validate sample rates
The sample rate index is 3 bits even if currently index 5, 6 and 7 are not supported. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavformat/oma.h')
-rw-r--r--libavformat/oma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oma.h b/libavformat/oma.h
index bac8bcb736..1f0ddf9a88 100644
--- a/libavformat/oma.h
+++ b/libavformat/oma.h
@@ -37,7 +37,7 @@ enum {
OMA_CODECID_WMA = 5,
};
-extern const uint16_t ff_oma_srate_tab[6];
+extern const uint16_t ff_oma_srate_tab[8];
extern const AVCodecTag ff_oma_codec_tags[];