summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mp3_hdr.h
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-21 14:36:33 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-21 14:36:33 +0000
commit63b5875bb5741b85042057b1d86f8d528171668b (patch)
tree50b9afcdb0a24875059c6fefe26b89053a0b80d8 /libmpdemux/mp3_hdr.h
parent8b9de50aff24400042fbf1fc50ce43f69cf207c7 (diff)
downloadmpv-63b5875bb5741b85042057b1d86f8d528171668b.tar.bz2
mpv-63b5875bb5741b85042057b1d86f8d528171668b.tar.xz
Fix vbr muxing and win32 codec crash on init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6764 b3059339-0415-0410-9bf9-f77b7e298cf2
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 ||