summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_hwmpa.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-09 12:24:11 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-09 12:24:11 +0000
commit6caf5586eeb00b45190ceaeff270e6850598e87c (patch)
tree2102ee89551ec703f7171ca72dfd0649dc7a358f /libmpcodecs/ad_hwmpa.c
parent134a537a76e429b16b8069e60d51ddbd4d6a0494 (diff)
downloadmpv-6caf5586eeb00b45190ceaeff270e6850598e87c.tar.bz2
mpv-6caf5586eeb00b45190ceaeff270e6850598e87c.tar.xz
Get rid of min/max macros from aviheader.h, they do not belong here.
Replace their uses by FFMIN/FFMAX git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21547 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ad_hwmpa.c')
-rw-r--r--libmpcodecs/ad_hwmpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_hwmpa.c b/libmpcodecs/ad_hwmpa.c
index 6f25bcef57..3b9bdedc8c 100644
--- a/libmpcodecs/ad_hwmpa.c
+++ b/libmpcodecs/ad_hwmpa.c
@@ -96,7 +96,7 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
if(start + len > sh->a_in_buffer_len)
{
int l;
- l = min(sh->a_in_buffer_size - sh->a_in_buffer_len, start + len);
+ l = FFMIN(sh->a_in_buffer_size - sh->a_in_buffer_len, start + len);
l = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len], l);
if(! l)
break;