aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudio.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-14 21:41:05 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-14 21:41:05 +0000
commit49cdad8d78b0abdfba6dbaeb79a9c8f91dcf3ba4 (patch)
treed460c873f42c26e0ab49e0ab0dac240bdfc13317 /libavcodec/mpegaudio.h
parente29a95b1b86cfa0ca320267e66d8b49821fc11ad (diff)
downloadffmpeg-49cdad8d78b0abdfba6dbaeb79a9c8f91dcf3ba4.tar.gz
simplify: group all the AUDIO_NONSHORT parameters in the same place
Originally committed as revision 16602 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.h')
-rw-r--r--libavcodec/mpegaudio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h
index 72872a353e..e8eb1abd70 100644
--- a/libavcodec/mpegaudio.h
+++ b/libavcodec/mpegaudio.h
@@ -68,11 +68,13 @@ typedef int32_t OUT_INT;
#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