diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-06-28 00:10:10 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-22 13:12:12 +0200 |
commit | 4fb7e64da2e13db1d739cb9fe8e553282843fba5 (patch) | |
tree | 2e0089d18dd70834b46005d35463b88797af54b5 /openbsc/tests/mgcp/mgcp_transcoding_test.c | |
parent | 6041c8db271ec2a9eecba42763d23889b56267f4 (diff) |
mgcp: Capture the return value of the of the transcode function
Diffstat (limited to 'openbsc/tests/mgcp/mgcp_transcoding_test.c')
-rw-r--r-- | openbsc/tests/mgcp/mgcp_transcoding_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/tests/mgcp/mgcp_transcoding_test.c b/openbsc/tests/mgcp/mgcp_transcoding_test.c index 6abf24892..6b3364516 100644 --- a/openbsc/tests/mgcp/mgcp_transcoding_test.c +++ b/openbsc/tests/mgcp/mgcp_transcoding_test.c @@ -240,6 +240,7 @@ static int transcode_test(const char *srcfmt, const char *dstfmt, printf("\n"); } while (nchars - prefix >= cutlen); } + printf("counted: %d\n", cont); talloc_free(ctx); return 0; } @@ -313,8 +314,8 @@ static int test_repacking(int in_samples, int out_samples, int no_transcode) len -= 12; /* ignore RTP header */ - printf("got %d %s output frames (%d octets)\n", - len / out_size, dstfmt, len); + printf("got %d %s output frames (%d octets) count=%d\n", + len / out_size, dstfmt, len, cont); len = cont; } while (len > 0); |