X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fj2c-test.cpp;h=57361504c44772e5a26b94942be5e90f4a24f211;hb=44bc524e3cf74f0903b7fbb51ca2f366f48d3495;hp=cfced0c0237d1cc302bec783b232a68c5ac148ab;hpb=c6900386fb66832781456838804ed7e28c535d63;p=asdcplib.git diff --git a/src/j2c-test.cpp b/src/j2c-test.cpp index cfced0c..5736150 100755 --- a/src/j2c-test.cpp +++ b/src/j2c-test.cpp @@ -30,8 +30,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include -#include +#include +#include #include + +using namespace Kumu; using namespace ASDCP; using namespace ASDCP::JP2K; @@ -56,7 +59,7 @@ main(int argc, const char** argv) if ( result != RESULT_FAIL ) { - fputs(GetResultString(result), stderr); + fputs(result.Label(), stderr); fputc('\n', stderr); }