diff options
author | wm4 <wm4@nowhere> | 2013-11-15 21:25:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-15 21:25:05 +0100 |
commit | 514c4547702a01adb6f9e6274c40a77c7c511339 (patch) | |
tree | c307d2d60094521cee703cbe9510f0ff9037e96b /audio/filter/af_lavrresample.c | |
parent | 2289a479b174efa062fab84a66075b49f27c804d (diff) | |
download | mpv-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/filter/af_lavrresample.c')
-rw-r--r-- | audio/filter/af_lavrresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c index 2e298a3f39..9b4d8ca586 100644 --- a/audio/filter/af_lavrresample.c +++ b/audio/filter/af_lavrresample.c @@ -245,7 +245,7 @@ static int control(struct af_instance *af, int cmd, void *arg) mp_audio_set_channels(out, &in->channels); if (af_to_avformat(in->format) == AV_SAMPLE_FMT_NONE) - mp_audio_set_format(in, AF_FORMAT_FLOAT_NE); + mp_audio_set_format(in, AF_FORMAT_FLOAT); if (af_to_avformat(out->format) == AV_SAMPLE_FMT_NONE) mp_audio_set_format(out, in->format); |