projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mpegaudio: remove OUT_MIN/MAX macros
[ffmpeg.git]
/
libavcodec
/
mpegaudiodec.c
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index 7fd6bd2dc64e94307c8656b57429342e2658e66b..10a63c57be1c545cc4e1f307f0be4fea88d318eb 100644
(file)
--- a/
libavcodec/mpegaudiodec.c
+++ b/
libavcodec/mpegaudiodec.c
@@
-490,7
+490,7
@@
static inline int round_sample(int64_t *sum)
int sum1;
sum1 = (int)((*sum) >> OUT_SHIFT);
*sum &= (1<<OUT_SHIFT)-1;
- return av_clip
(sum1, OUT_MIN, OUT_MAX
);
+ return av_clip
_int16(sum1
);
}
# define MULS(ra, rb) MUL64(ra, rb)