Module: libav
Branch: master
Commit: bb265b764a055f2dc576b9aec62460d9580868f4

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Tue Dec  8 16:54:07 2015 +0100

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]

---

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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to