transcode_aac: fix const return value
authorTimothy Gu <timothygu99@gmail.com>
Wed, 6 Aug 2014 00:59:15 +0000 (17:59 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Aug 2014 02:01:19 +0000 (04:01 +0200)
Fixes Trac #3613.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/transcode_aac.c

index bf0128f..cee447f 100644 (file)
@@ -52,7 +52,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 const char *get_error_text(const int error)
 {
     static char error_buffer[255];
     av_strerror(error, error_buffer, sizeof(error_buffer));