diff options
author | wm4 <wm4@nowhere> | 2014-02-05 18:53:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-05 18:53:00 +0100 |
commit | fdd5d00be314b170bdf9e032de50a47da119b87a (patch) | |
tree | fab0e2ba1e9c83de943b80aa6de25152bebdedac | |
parent | 8edf2cda4b9b63dc4bbfab0e77dca533be5dfc43 (diff) | |
download | mpv-fdd5d00be314b170bdf9e032de50a47da119b87a.tar.bz2 mpv-fdd5d00be314b170bdf9e032de50a47da119b87a.tar.xz |
audio: fix signedness of AF_FORMAT_S32P
This was marked as unsigned, but it's signed. Found by xylosper.
-rw-r--r-- | audio/format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/format.h b/audio/format.h index 19118a7b59..6fcf923624 100644 --- a/audio/format.h +++ b/audio/format.h @@ -112,7 +112,7 @@ enum af_format { // Planar variants AF_FORMAT_U8P = (AF_INTP|AF_FORMAT_US|AF_FORMAT_8BIT|AF_FORMAT_NE), AF_FORMAT_S16P = (AF_INTP|AF_FORMAT_SI|AF_FORMAT_16BIT|AF_FORMAT_NE), - AF_FORMAT_S32P = (AF_INTP|AF_FORMAT_US|AF_FORMAT_32BIT|AF_FORMAT_NE), + AF_FORMAT_S32P = (AF_INTP|AF_FORMAT_SI|AF_FORMAT_32BIT|AF_FORMAT_NE), AF_FORMAT_FLOATP = (AF_FLTP|AF_FORMAT_32BIT|AF_FORMAT_NE), AF_FORMAT_DOUBLEP = (AF_FLTP|AF_FORMAT_64BIT|AF_FORMAT_NE), |