summaryrefslogtreecommitdiff
path: root/libavformat/oma.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-16 18:13:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-16 18:36:39 +0200
commita30165c4a8044e1d5527c1302b5a5cb473e0913d (patch)
treebf87ffcec77306532d2236518f74ad1e363af991 /libavformat/oma.h
parentc963189bc2fcb879acff100be341222ee8aa850a (diff)
downloadffmpeg-a30165c4a8044e1d5527c1302b5a5cb473e0913d.tar.gz
omadec: make sample rate table large enough to prevent out of array reading.
The new values lead to error messages when used Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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[];