summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-16 17:06:30 +0100
committerMans Rullgard <mans@mansr.com>2011-05-16 17:49:25 +0100
commitbdefbf3e8857d2861d8d57c0ef583fe15a46d1a4 (patch)
tree266c2e41fe4720b5db48b9a6e67fdcf979086487 /libavcodec/mpegaudiodec.c
parent92ea249d7db4baf64680f412c6bd99ff85860723 (diff)
downloadffmpeg-streaming-bdefbf3e8857d2861d8d57c0ef583fe15a46d1a4.zip
ffmpeg-streaming-bdefbf3e8857d2861d8d57c0ef583fe15a46d1a4.tar.gz
mpegaudio: move OUT_FMT macro to mpegaudiodec.c
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 10a63c5..8c42e09 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -47,6 +47,7 @@
# define MULH3(x, y, s) ((s)*(y)*(x))
# define MULLx(x, y, s) ((y)*(x))
# define RENAME(a) a ## _float
+# define OUT_FMT AV_SAMPLE_FMT_FLT
#else
# define SHR(a,b) ((a)>>(b))
# define compute_antialias compute_antialias_integer
@@ -57,6 +58,7 @@
# define MULH3(x, y, s) MULH((s)*(x), y)
# define MULLx(x, y, s) MULL(x,y,s)
# define RENAME(a) a
+# define OUT_FMT AV_SAMPLE_FMT_S16
#endif
/****************/
OpenPOWER on IntegriCloud