Mercurial > mplayer.hg
changeset 36318:df2964c3d543
Const correctness fix.
author | reimar |
---|---|
date | Fri, 09 Aug 2013 20:10:54 +0000 |
parents | 56f576e4a49d |
children | 4e5239ebd43d |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Wed Aug 07 21:06:59 2013 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Fri Aug 09 20:10:54 2013 +0000 @@ -496,7 +496,7 @@ static void update_configuration(sh_video_t *sh, enum AVPixelFormat pix_fmt) { vd_ffmpeg_ctx *ctx = sh->context; - const AVCodecContext *avctx = ctx->avctx; + AVCodecContext *avctx = ctx->avctx; // it is possible another vo buffers to be used after vo config() // lavc reset its buffers on width/heigh change but not on aspect change!!! if (av_cmp_q(avctx->sample_aspect_ratio, ctx->last_sample_aspect_ratio) ||