aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/mpeg-audio.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2022-03-07 22:06:14 -0500
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-03-10 07:38:14 +0000
commit80d02833417d137dc1922f50419c3ecb2f73bddb (patch)
tree30a15b7a2531cd5f91327cab11d53e09a132150e /wsutil/mpeg-audio.h
parent3f9fdc373edf574bfd314c31f0e86447921db3c4 (diff)
mpeg: handle the presence of an image in the ID3v2 header.
Fixes #17985.
Diffstat (limited to 'wsutil/mpeg-audio.h')
-rw-r--r--wsutil/mpeg-audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wsutil/mpeg-audio.h b/wsutil/mpeg-audio.h
index ced51ff745..e496a9b10d 100644
--- a/wsutil/mpeg-audio.h
+++ b/wsutil/mpeg-audio.h
@@ -11,6 +11,7 @@
#ifndef MPA_H
#define MPA_H 1
+#include <glib.h>
#include "ws_symbol_export.h"
struct mpa {
@@ -71,6 +72,8 @@ WS_DLL_PUBLIC
unsigned int mpa_frequency(const struct mpa *);
WS_DLL_PUBLIC
unsigned int mpa_padding(const struct mpa *);
+WS_DLL_PUBLIC
+guint32 decode_synchsafe_int(guint32);
#define MPA_DATA_BYTES(mpa) (mpa_bitrate(mpa) * mpa_samples(mpa) \
/ mpa_frequency(mpa) / 8)