summaryrefslogtreecommitdiff
path: root/wsutil/mpeg-audio.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-01-04 05:22:43 +0000
committerMichael Mann <mmann78@netscape.net>2013-01-04 05:22:43 +0000
commit86d690880fb63891d223aa663ca5901c790b74af (patch)
tree47187c5da15e3c239e9bf40c79601c196ac0f114 /wsutil/mpeg-audio.c
parentd36b4c8525161167a32eac3b1feb98f8f5d6184e (diff)
downloadwireshark-86d690880fb63891d223aa663ca5901c790b74af.tar.gz
replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned int" instead.
bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928
Diffstat (limited to 'wsutil/mpeg-audio.c')
-rw-r--r--wsutil/mpeg-audio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wsutil/mpeg-audio.c b/wsutil/mpeg-audio.c
index e6deac9a5e..e848ce673e 100644
--- a/wsutil/mpeg-audio.c
+++ b/wsutil/mpeg-audio.c
@@ -27,13 +27,13 @@
static const int mpa_versions[4] = { 2, -1, 1, 0 };
static const int mpa_layers[4] = { -1, 2, 1, 0 };
-static const unsigned mpa_samples_data[3][3] = {
+static const unsigned int mpa_samples_data[3][3] = {
{ 384, 1152, 1152 },
{ 384, 1152, 576 },
{ 384, 1152, 576 },
};
-static const unsigned mpa_bitrates[3][3][16] = { /* kb/s */
+static const unsigned int mpa_bitrates[3][3][16] = { /* kb/s */
{
{ 0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448 },
{ 0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384 },
@@ -51,13 +51,13 @@ static const unsigned mpa_bitrates[3][3][16] = { /* kb/s */
},
};
-static const unsigned mpa_frequencies[3][4] = {
+static const unsigned int mpa_frequencies[3][4] = {
{ 44100, 48000, 32000 },
{ 22050, 24000, 16000 },
{ 11025, 12000, 8000 },
};
-static const unsigned mpa_padding_data[3] = { 4, 1, 1 };
+static const unsigned int mpa_padding_data[3] = { 4, 1, 1 };
int
mpa_version(const struct mpa *mpa)