[FFmpeg-cvslog] cmdutils: add missing const qualifier

Mans Rullgard git at videolan.org
Sun Jun 5 03:21:57 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jun  4 16:47:15 2011 +0100| [42abb9a80da16d33ef7f54c3656b4d9524d03435] | committer: Mans Rullgard

cmdutils: add missing const qualifier

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=42abb9a80da16d33ef7f54c3656b4d9524d03435
---

 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;
         }



More information about the ffmpeg-cvslog mailing list