diff utils.c @ 6464:0c3cc1d7a0b3 libavcodec

Make av_class a pointer to a const AVClass. Addresses one warning in imgresample.c.
author takis
date Thu, 06 Mar 2008 17:41:31 +0000
parents ff4fa36b555e
children 3dae816c2485
line wrap: on
line diff
--- a/utils.c	Thu Mar 06 14:22:02 2008 +0000
+++ b/utils.c	Thu Mar 06 17:41:31 2008 +0000
@@ -768,7 +768,7 @@
 #undef D
 #undef DEFAULT
 
-static AVClass av_codec_context_class = { "AVCodecContext", context_to_name, options };
+static const AVClass av_codec_context_class = { "AVCodecContext", context_to_name, options };
 
 void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType codec_type){
     int flags=0;