diff mpegaudio.h @ 8598:6550218be3b7 libavcodec

simplify: group all the AUDIO_NONSHORT parameters in the same place
author aurel
date Wed, 14 Jan 2009 21:41:05 +0000
parents c5349ca95c08
children 5b5ac656cb50
line wrap: on
line diff
--- a/mpegaudio.h	Wed Jan 14 21:34:48 2009 +0000
+++ b/mpegaudio.h	Wed Jan 14 21:41:05 2009 +0000
@@ -68,11 +68,13 @@
 #define OUT_MAX INT32_MAX
 #define OUT_MIN INT32_MIN
 #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 31)
+#define OUT_FMT SAMPLE_FMT_S32
 #else
 typedef int16_t OUT_INT;
 #define OUT_MAX INT16_MAX
 #define OUT_MIN INT16_MIN
 #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15)
+#define OUT_FMT SAMPLE_FMT_S16
 #endif
 
 #if FRAC_BITS <= 15