diff options
author | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-15 08:46:18 +0000 |
---|---|---|
committer | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-15 08:46:18 +0000 |
commit | c97692ac9d2015b4c6eaadff4b2f0fb971ba29b6 (patch) | |
tree | 87049f96d54e93f432a97090f27f6f6cdec11ba8 /libmpcodecs | |
parent | b012d635eec99b743884823133ae610c2f576c29 (diff) | |
download | mpv-c97692ac9d2015b4c6eaadff4b2f0fb971ba29b6.tar.bz2 mpv-c97692ac9d2015b4c6eaadff4b2f0fb971ba29b6.tar.xz |
Reflect the change of xvmc struct name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28583 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 862c1a776e..6e9499c6c9 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -876,7 +876,7 @@ static int mc_get_buffer(AVCodecContext *avctx, AVFrame *pic){ sh_video_t *sh = avctx->opaque; vd_ffmpeg_ctx *ctx = sh->context; mp_image_t *mpi=NULL; - struct xvmc_render_state *render; + struct xvmc_pixfmt_render *render; int flags= MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE| MP_IMGFLAG_DRAW_CALLBACK; @@ -955,7 +955,7 @@ static int mc_get_buffer(AVCodecContext *avctx, AVFrame *pic){ pic->type= FF_BUFFER_TYPE_USER; - render=(struct xvmc_render_state *)mpi->priv;//same as data[2] + render=(struct xvmc_pixfmt_render *)mpi->priv;//same as data[2] if(mp_msg_test(MSGT_DECVIDEO, MSGL_DBG5)) mp_msg(MSGT_DECVIDEO, MSGL_DBG5, "vd_ffmpeg::mc_get_buffer (render=%p)\n", render); assert(render != 0); @@ -969,7 +969,7 @@ static void mc_release_buffer(AVCodecContext *avctx, AVFrame *pic){ mp_image_t *mpi= pic->opaque; sh_video_t *sh = avctx->opaque; vd_ffmpeg_ctx *ctx = sh->context; - struct xvmc_render_state *render; + struct xvmc_pixfmt_render *render; int i; @@ -982,7 +982,7 @@ static void mc_release_buffer(AVCodecContext *avctx, AVFrame *pic){ //printf("R%X %X\n", pic->linesize[0], pic->data[0]); //mark the surface as not requared for prediction - render=(struct xvmc_render_state *)pic->data[2];//same as mpi->priv + render=(struct xvmc_pixfmt_render *)pic->data[2];//same as mpi->priv if(mp_msg_test(MSGT_DECVIDEO, MSGL_DBG5)) mp_msg(MSGT_DECVIDEO, MSGL_DBG5, "vd_ffmpeg::mc_release_buffer (render=%p)\n", render); assert(render!=NULL); |