summaryrefslogtreecommitdiff
path: root/doc/examples/transcode_aac.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-08 16:54:07 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-17 16:53:47 +0100
commitbb265b764a055f2dc576b9aec62460d9580868f4 (patch)
treeed2197ad34471428b93592503f63ad4407b7f1e6 /doc/examples/transcode_aac.c
parentbfe92dfe60f601b3f20a918ffcc0acdf40a5955c (diff)
examples/transcode_aac: Drop pointless return value const qualifier
doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Diffstat (limited to 'doc/examples/transcode_aac.c')
-rw-r--r--doc/examples/transcode_aac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c
index be86fe5d3b..5c640d9ce2 100644
--- a/doc/examples/transcode_aac.c
+++ b/doc/examples/transcode_aac.c
@@ -49,7 +49,7 @@
* @param error Error code to be converted
* @return Corresponding error text (not thread-safe)
*/
-static char *const get_error_text(const int error)
+static char *get_error_text(const int error)
{
static char error_buffer[255];
av_strerror(error, error_buffer, sizeof(error_buffer));