aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2008-03-06 17:41:31 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2008-03-06 17:41:31 +0000
commitd42a814ef18f6951d30b0005122c40f63cc74f55 (patch)
tree98503bd965e8b5f10fba0437d4eb8874b058680c /libavcodec/utils.c
parentebf71dbda52801f40d4e9313058bef6b792cf6cd (diff)
downloadffmpeg-d42a814ef18f6951d30b0005122c40f63cc74f55.tar.gz
Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c. Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 4aaedb11c5..6418776496 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -768,7 +768,7 @@ static const AVOption options[]={
#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;