aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-11 20:50:37 +0100
committerMax Kellermann <max@duempel.org>2008-11-11 20:50:37 +0100
commit514c37b0cdf763e5bf9c487bd9d8b90930230e78 (patch)
tree15c2c6a2e24e4b1c3e960c4f4d225addd51cf6e4 /src/decoder_thread.c
parent1bfa6a94e2259201068d7a947507eb5e6e93c0c3 (diff)
downloadmpd-514c37b0cdf763e5bf9c487bd9d8b90930230e78.tar.gz
mpd-514c37b0cdf763e5bf9c487bd9d8b90930230e78.tar.xz
mpd-514c37b0cdf763e5bf9c487bd9d8b90930230e78.zip
mp3: eliminated duplicate command check
When a command is received, decode_next_frame_header() and decodeNextFrame() return DECODE_BREAK. This is already checked by both callers, which means that we can eliminate lots of decoder_get_command() checks.
Diffstat (limited to 'src/decoder_thread.c')
0 files changed, 0 insertions, 0 deletions