Displaying 1 result from an estimated 1 matches for "test_stream_encod".
Did you mean:
test_stream_encoder
2017 Jan 19
4
[PATCH] Fix cppcheck warnings
...*to = newbuf ? newbuf : tobuf;
+ free(newbuf);
}
else
free(tobuf);
diff --git a/src/test_libFLAC++/encoders.cpp b/src/test_libFLAC++/encoders.cpp
index 277e129..e328a53 100644
--- a/src/test_libFLAC++/encoders.cpp
+++ b/src/test_libFLAC++/encoders.cpp
@@ -438,7 +438,7 @@ static bool test_stream_encoder(Layer layer, bool is_ogg)
printf("testing get_max_lpc_order()... ");
if(encoder->get_max_lpc_order() != 0) {
- printf("FAILED, expected %u, got %u\n", 0, encoder->get_max_lpc_order());
+ printf("FAILED, expected %d, got %u\n", 0, encoder->get_max_lpc...