Commit bb265b76 authored by Diego Biurrun's avatar Diego Biurrun

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]
parent bfe92dfe
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
* @param error Error code to be converted * @param error Error code to be converted
* @return Corresponding error text (not thread-safe) * @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]; static char error_buffer[255];
av_strerror(error, error_buffer, sizeof(error_buffer)); av_strerror(error, error_buffer, sizeof(error_buffer));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment