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]
pull/258/head
Diego Biurrun 9 years ago
parent bfe92dfe60
commit bb265b764a
  1. 2
      doc/examples/transcode_aac.c

@ -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));

Loading…
Cancel
Save