aboutsummaryrefslogtreecommitdiffstats
path: root/src/filter
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-07-19 16:42:19 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-07-19 17:15:21 +0100
commit05693e2d5d760e818fb7382f9bd528026f16aa51 (patch)
treea2f9cbcafda5f17f253367225e4a1bc37d4859dc /src/filter
parent37754559b8f934ce8d554e0d9f976d4f6eb376d9 (diff)
downloadmpd-05693e2d5d760e818fb7382f9bd528026f16aa51.tar.gz
mpd-05693e2d5d760e818fb7382f9bd528026f16aa51.tar.xz
mpd-05693e2d5d760e818fb7382f9bd528026f16aa51.zip
Add reverse_endian field to struct audio_format and handle conversion
Diffstat (limited to 'src/filter')
-rw-r--r--src/filter/convert_filter_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filter/convert_filter_plugin.c b/src/filter/convert_filter_plugin.c
index f4d03ebef..b7f16de4f 100644
--- a/src/filter/convert_filter_plugin.c
+++ b/src/filter/convert_filter_plugin.c
@@ -149,6 +149,7 @@ convert_filter_set(struct filter *_filter,
assert(audio_format_valid(&filter->out_audio_format));
assert(out_audio_format != NULL);
assert(audio_format_valid(out_audio_format));
+ assert(filter->in_audio_format.reverse_endian == 0);
filter->out_audio_format = *out_audio_format;
}