Turn PARA_STRERROR into an inline function.
[paraslash.git] / aacdec.c
index 258864a06f4a1e1659be548c139af4c2b0fa7b83..c200c558cc67a705463871964abd058f9eb98f67 100644 (file)
--- a/aacdec.c
+++ b/aacdec.c
@@ -69,7 +69,7 @@ static ssize_t aacdec(char *input_buffer, size_t len, struct filter_node *fn)
                unsigned char channels = 0;
                ret = aac_find_esds(inbuf, len, &skip, &padd->decoder_length);
                if (ret < 0) {
-                       PARA_INFO_LOG("%s\n", PARA_STRERROR(-ret));
+                       PARA_INFO_LOG("%s\n", para_strerror(-ret));
                        ret = NeAACDecInit(padd->handle, inbuf,
                                len, &rate, &channels);
                        PARA_INFO_LOG("decoder init: %d\n", ret);