[MPlayer-cvslog] r36414 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Fri Aug 9 22:10:55 CEST 2013


Author: reimar
Date: Fri Aug  9 22:10:54 2013
New Revision: 36414

Log:
Const correctness fix.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Wed Aug  7 23:06:59 2013	(r36413)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Fri Aug  9 22:10:54 2013	(r36414)
@@ -496,7 +496,7 @@ static void draw_slice(struct AVCodecCon
 
 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) ||


More information about the MPlayer-cvslog mailing list