Module: libav
Branch: master
Commit: 42abb9a80da16d33ef7f54c3656b4d9524d03435

Author:    Mans Rullgard <[email protected]>
Committer: Mans Rullgard <[email protected]>
Date:      Sat Jun  4 16:47:15 2011 +0100

cmdutils: add missing const qualifier

Signed-off-by: Mans Rullgard <[email protected]>

---

 cmdutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 31866b5..b9a5d1b 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -323,7 +323,7 @@ int opt_default(const char *opt, const char *arg){
         AVCodec *p = NULL;
         AVOutputFormat *oformat = NULL;
         while ((p=av_codec_next(p))){
-            AVClass *c= p->priv_class;
+            const AVClass *c = p->priv_class;
             if(c && av_find_opt(&c, opt, NULL, 0, 0))
                 break;
         }

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

Reply via email to