mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-25 17:01:56 +08:00
simplify: group all the AUDIO_NONSHORT parameters in the same place
Originally committed as revision 16602 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user