diff options
-rw-r--r-- | libavformat/avio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 0ab92c32e5..10c0a12ccb 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -78,7 +78,7 @@ typedef struct { * warning -- this field can be NULL, be sure to not pass this AVIOContext * to any av_opt_* functions in that case. */ - AVClass *av_class; + const AVClass *av_class; unsigned char *buffer; /**< Start of the buffer. */ int buffer_size; /**< Maximum buffer size */ unsigned char *buf_ptr; /**< Current position in the buffer */ |