encoder/Interface: convert PreparedEncoder to abstract class

This commit is contained in:
Max Kellermann
2016-05-04 18:29:31 +02:00
parent e7edc02647
commit b376536a3b
15 changed files with 110 additions and 301 deletions

View File

@@ -111,7 +111,7 @@ int main(int argc, char **argv)
EncoderToOutputStream(os, *encoder);
delete encoder;
p_encoder->Dispose();
delete p_encoder;
return EXIT_SUCCESS;
} catch (const std::exception &e) {