summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-05 18:53:00 +0100
committerwm4 <wm4@nowhere>2014-02-05 18:53:00 +0100
commitfdd5d00be314b170bdf9e032de50a47da119b87a (patch)
treefab0e2ba1e9c83de943b80aa6de25152bebdedac /audio
parent8edf2cda4b9b63dc4bbfab0e77dca533be5dfc43 (diff)
downloadmpv-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.
Diffstat (limited to 'audio')
-rw-r--r--audio/format.h2
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),