Module: libav
Branch: master
Commit: 90265814f993098d79b0a0f40745ecdb403fbf56

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Wed Oct 19 21:56:22 2016 +0200

examples/decode_audio: constify the AVCodec instance

---

 doc/examples/decode_audio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c
index 4378281..647893c 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;

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

Reply via email to