summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mp3_hdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/mp3_hdr.h')
-rw-r--r--libmpdemux/mp3_hdr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/mp3_hdr.h b/libmpdemux/mp3_hdr.h
index 9635760a95..2dfa484e10 100644
--- a/libmpdemux/mp3_hdr.h
+++ b/libmpdemux/mp3_hdr.h
@@ -1,5 +1,7 @@
-int mp_decode_mp3_header(unsigned char* hbuf);
+int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq);
+
+#define mp_decode_mp3_header(hbuf) mp_get_mp3_header(hbuf,NULL,NULL)
static inline int mp_check_mp3_header(unsigned int head){
if( (head & 0x0000e0ff) != 0x0000e0ff ||