aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-02 20:22:36 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-02 20:22:36 +0000
commit75243478ce90d862f64c8fa6a03d0a651099317b (patch)
treef54571e046897f304469631dc5f685f98a9171be /libmpcodecs
parentedc3c57aeef30663e4d25ca1d0e291d8be73b31c (diff)
Adapt to lzo changes in libavutil
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28448 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_lzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd_lzo.c b/libmpcodecs/vd_lzo.c
index a2e92a5301..5371e4115f 100644
--- a/libmpcodecs/vd_lzo.c
+++ b/libmpcodecs/vd_lzo.c
@@ -55,7 +55,7 @@ static int init(sh_video_t *sh)
return 0;
}
priv->bufsz = sh->bih->biSizeImage;
- priv->buffer = malloc(priv->bufsz + LZO_OUTPUT_PADDING);
+ priv->buffer = malloc(priv->bufsz + AV_LZO_OUTPUT_PADDING);
priv->codec = -1;
sh->context = priv;
@@ -88,7 +88,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
return NULL; // skipped frame
}
- r = lzo1x_decode(priv->buffer, &w, data, &len);
+ r = av_lzo1x_decode(priv->buffer, &w, data, &len);
if (r) {
/* this should NEVER happen */
mp_msg (MSGT_DECVIDEO, MSGL_ERR,