aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-02 23:09:58 +0100
committerMax Kellermann <max@duempel.org>2009-03-02 23:09:58 +0100
commit9cd5b0af74b61967164598382e5ef66774e766a8 (patch)
tree95413ffd6bb6fa8352809327910f1f8e07cf09b3 /test/run_decoder.c
parenta2e47d55eb6b0da9f0c53b98e742f31c9dbfce19 (diff)
downloadmpd-9cd5b0af74b61967164598382e5ef66774e766a8.tar.gz
mpd-9cd5b0af74b61967164598382e5ef66774e766a8.tar.xz
mpd-9cd5b0af74b61967164598382e5ef66774e766a8.zip
test/run_decoder: initialize decoder.initialized
Keep valgrind happy.
Diffstat (limited to 'test/run_decoder.c')
-rw-r--r--test/run_decoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 60aa9bace..a00de48dd 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -135,6 +135,8 @@ int main(int argc, char **argv)
return 1;
}
+ decoder.initialized = false;
+
if (decoder.plugin->file_decode != NULL) {
decoder_plugin_file_decode(decoder.plugin, &decoder,
decoder.uri);