summaryrefslogtreecommitdiff
path: root/doc/examples/decode_audio.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-29 13:45:51 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 13:45:51 +0200
commitdcdd52101f31f696dfe7a919d6fa6879c1b40945 (patch)
tree3c032c080a72780cb6100be2379eac3d4f5a4e4b /doc/examples/decode_audio.c
parent9bed10afb8b28f9aa8a90ab24b7103d9a35de3cc (diff)
parent90265814f993098d79b0a0f40745ecdb403fbf56 (diff)
Merge commit '90265814f993098d79b0a0f40745ecdb403fbf56'
* commit '90265814f993098d79b0a0f40745ecdb403fbf56': examples/decode_audio: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
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 738a188aef..a091cdc74c 100644
--- a/doc/examples/decode_audio.c
+++ b/doc/examples/decode_audio.c
@@ -41,7 +41,7 @@
int main(int argc, char **argv)
{
const char *outfilename, *filename;
- AVCodec *codec;
+ const AVCodec *codec;
AVCodecContext *c= NULL;
int len;
FILE *f, *outfile;