mgcp: Capture the return value of the of the transcode function
diff --git a/openbsc/tests/mgcp/mgcp_transcoding_test.c b/openbsc/tests/mgcp/mgcp_transcoding_test.c
index 6abf248..6b33645 100644
--- a/openbsc/tests/mgcp/mgcp_transcoding_test.c
+++ b/openbsc/tests/mgcp/mgcp_transcoding_test.c
@@ -240,6 +240,7 @@
 			printf("\n");
 		} while (nchars - prefix >= cutlen);
 	}
+	printf("counted: %d\n", cont);
 	talloc_free(ctx);
 	return 0;
 }
@@ -313,8 +314,8 @@
 
 			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);