summaryrefslogtreecommitdiff
path: root/doc/examples/decode_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/decode_audio.c')
-rw-r--r--doc/examples/decode_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c
index 4378281dbd..647893c91f 100644
--- a/doc/examples/decode_audio.c
+++ b/doc/examples/decode_audio.c
@@ -39,7 +39,7 @@
int main(int argc, char **argv)
{
const char *outfilename, *filename;
- AVCodec *codec;
+ const AVCodec *codec;
AVCodecContext *c= NULL;
int len;
FILE *f, *outfile;