diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-07 00:47:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-07 00:47:11 +0100 |
commit | 57986c501e8c97d4bd2e1b7ce9e9037c4ae06245 (patch) | |
tree | f4a34d81a91fd7f636b38ccac5d046bf87400ffc /libavcodec/utils.c | |
parent | 11344792e843829cfe6913da018d24636d5a182e (diff) | |
download | ffmpeg-57986c501e8c97d4bd2e1b7ce9e9037c4ae06245.tar.gz |
lavc/utils: fix const correctness of AVClass cast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 541a4b6712..8619285b7c 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -762,7 +762,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD goto end; } if (codec->priv_class) { - *(AVClass**)avctx->priv_data= codec->priv_class; + *(const AVClass**)avctx->priv_data= codec->priv_class; av_opt_set_defaults(avctx->priv_data); } } |