mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
Fix vd_lzo, broken since r18069, i.e. April 2006!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22078 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
916f3055cf
commit
6e2e6cbb6a
@ -155,7 +155,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
w = mpi->w * mpi->h;
|
||||
w = (mpi->w * mpi->h * mpi->bpp) / 8;
|
||||
r = lzo1x_decompress_safe (data, len, mpi->planes[0], &w, priv->wrkmem);
|
||||
if (r != LZO_E_OK) {
|
||||
/* this should NEVER happen */
|
||||
|
Loading…
Reference in New Issue
Block a user