Browse Source

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>
tags/n2.4
Timothy Gu Michael Niedermayer 11 years ago
parent
commit
9f02a2b224
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/examples/transcode_aac.c

+ 1
- 1
doc/examples/transcode_aac.c View 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));


Loading…
Cancel
Save