summaryrefslogtreecommitdiffstats
path: root/audio/decode/ad_mpg123.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-15 21:25:05 +0100
committerwm4 <wm4@nowhere>2013-11-15 21:25:05 +0100
commit514c4547702a01adb6f9e6274c40a77c7c511339 (patch)
treec307d2d60094521cee703cbe9510f0ff9037e96b /audio/decode/ad_mpg123.c
parent2289a479b174efa062fab84a66075b49f27c804d (diff)
downloadmpv-514c4547702a01adb6f9e6274c40a77c7c511339.tar.bz2
mpv-514c4547702a01adb6f9e6274c40a77c7c511339.tar.xz
audio: drop "_NE"/"ne" suffix from audio formats
You get the native format by not appending any suffix to the format. This change includes user-facing names, e.g. for the --format option.
Diffstat (limited to 'audio/decode/ad_mpg123.c')
-rw-r--r--audio/decode/ad_mpg123.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/decode/ad_mpg123.c b/audio/decode/ad_mpg123.c
index 322f45826f..777c20c2c9 100644
--- a/audio/decode/ad_mpg123.c
+++ b/audio/decode/ad_mpg123.c
@@ -149,13 +149,13 @@ static int set_format(sh_audio_t *sh)
sh->sample_format = AF_FORMAT_S8;
break;
case MPG123_ENC_SIGNED_16:
- sh->sample_format = AF_FORMAT_S16_NE;
+ sh->sample_format = AF_FORMAT_S16;
break;
case MPG123_ENC_SIGNED_32:
- sh->sample_format = AF_FORMAT_S32_NE;
+ sh->sample_format = AF_FORMAT_S32;
break;
case MPG123_ENC_FLOAT_32:
- sh->sample_format = AF_FORMAT_FLOAT_NE;
+ sh->sample_format = AF_FORMAT_FLOAT;
break;
default:
/* This means we got a funny custom build of libmpg123 that only supports an unknown format. */