[FFmpeg-cvslog] transcode_aac: fix const return value

Timothy Gu git at videolan.org
Wed Aug 6 04:27:39 CEST 2014


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Tue Aug  5 17:59:15 2014 -0700| [9f02a2b2240028de6bf48659170ea697f393a2ee] | committer: Michael Niedermayer

transcode_aac: fix const return value

Fixes Trac #3613.

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f02a2b2240028de6bf48659170ea697f393a2ee
---

 doc/examples/transcode_aac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c
index bf0128f..cee447f 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));



More information about the ffmpeg-cvslog mailing list