diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-05 17:59:15 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-06 04:01:19 +0200 |
commit | 9f02a2b2240028de6bf48659170ea697f393a2ee (patch) | |
tree | 922218d8a844a9e67bea250603ec3c6ad7a4d6d2 | |
parent | a32e306be3a2cddf919755862e45dce5db62dd96 (diff) | |
download | ffmpeg-9f02a2b2240028de6bf48659170ea697f393a2ee.tar.gz |
transcode_aac: fix const return value
Fixes Trac #3613.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | doc/examples/transcode_aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c index bf0128f68d..cee447f7eb 100644 --- a/doc/examples/transcode_aac.c +++ b/doc/examples/transcode_aac.c @@ -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)); |