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/fmt-conversion.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/fmt-conversion.c')
-rw-r--r-- | audio/fmt-conversion.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/fmt-conversion.c b/audio/fmt-conversion.c index 93fda3eaa0..da770a8eda 100644 --- a/audio/fmt-conversion.c +++ b/audio/fmt-conversion.c @@ -27,10 +27,10 @@ static const struct { int fmt; } audio_conversion_map[] = { {AV_SAMPLE_FMT_U8, AF_FORMAT_U8}, - {AV_SAMPLE_FMT_S16, AF_FORMAT_S16_NE}, - {AV_SAMPLE_FMT_S32, AF_FORMAT_S32_NE}, - {AV_SAMPLE_FMT_FLT, AF_FORMAT_FLOAT_NE}, - {AV_SAMPLE_FMT_DBL, AF_FORMAT_DOUBLE_NE}, + {AV_SAMPLE_FMT_S16, AF_FORMAT_S16}, + {AV_SAMPLE_FMT_S32, AF_FORMAT_S32}, + {AV_SAMPLE_FMT_FLT, AF_FORMAT_FLOAT}, + {AV_SAMPLE_FMT_DBL, AF_FORMAT_DOUBLE}, {AV_SAMPLE_FMT_U8P, AF_FORMAT_U8P}, {AV_SAMPLE_FMT_S16P, AF_FORMAT_S16P}, |