diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:12:01 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:12:01 +0000 |
commit | f6ed3eaeae593c65e577ef77822c2f60fe2af7a7 (patch) | |
tree | 93d4dd8b6ba4055d41d043565e56085d2624617f /src/mp4ff/mp4ff.dsp | |
parent | 82fbf1a24c8fa1048afcdde5235d58fbc5a8095d (diff) | |
download | mpd-f6ed3eaeae593c65e577ef77822c2f60fe2af7a7.tar.gz mpd-f6ed3eaeae593c65e577ef77822c2f60fe2af7a7.tar.xz mpd-f6ed3eaeae593c65e577ef77822c2f60fe2af7a7.zip |
converted macro processDecodeInput() to function
Macros are ugly, and multi-line macros are even more ugly. This patch
converts processDecodeInput() to a C function. The disadvantage may
be that the function does not have access to the caller's local
variables, which might be regarded as an advantage on the other hand.
For this reason, we have to pass variable references. This costs a
tiny bit of performance, but it's worth eliminating this monster
macro, and further patches will optimize this cost down.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7254 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions