diff options
Diffstat (limited to '')
-rw-r--r-- | test/run_decoder.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx index 6b04b859c..f33509211 100644 --- a/test/run_decoder.cxx +++ b/test/run_decoder.cxx @@ -41,6 +41,9 @@ struct Decoder { bool initialized; + + Decoder() + :initialized(false) {} }; void @@ -203,8 +206,6 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - decoder.initialized = false; - if (plugin->file_decode != nullptr) { plugin->FileDecode(decoder, Path::FromFS(uri)); } else if (plugin->stream_decode != nullptr) { |