summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
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/avcodec.h
parentebf71dbda52801f40d4e9313058bef6b792cf6cd (diff)
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/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7b4e1b4216..cbc6f70a79 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -791,7 +791,7 @@ typedef struct AVCodecContext {
* information on struct for av_log
* - set by avcodec_alloc_context
*/
- AVClass *av_class;
+ const AVClass *av_class;
/**
* the average bitrate
* - encoding: Set by user; unused for constant quantizer encoding.