From 86d690880fb63891d223aa663ca5901c790b74af Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 4 Jan 2013 05:22:43 +0000 Subject: 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 --- wsutil/mpeg-audio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wsutil/mpeg-audio.c') 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) -- cgit v1.2.3