[FFmpeg-cvslog] examples/transcode_aac: Drop pointless return value const qualifier
Diego Biurrun
git at videolan.org
Sat Apr 1 13:46:34 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Dec 8 16:54:07 2015 +0100| [bb265b764a055f2dc576b9aec62460d9580868f4] | committer: 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]
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb265b764a055f2dc576b9aec62460d9580868f4
---
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 be86fe5..5c640d9 100644
--- a/doc/examples/transcode_aac.c
+++ b/doc/examples/transcode_aac.c
@@ -49,7 +49,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 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