mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7231 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
055d7ee5a0
commit
fac648971a
@ -255,9 +255,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// set buffer:
|
||||
sh->our_out_buffer=mpi->planes[0];
|
||||
|
||||
// set stride: (trick discovered by Andreas Ackermann - thanx!)
|
||||
sh->bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
|
||||
priv->o_bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
|
||||
|
@ -255,9 +255,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// set buffer:
|
||||
sh->our_out_buffer=mpi->planes[0];
|
||||
|
||||
// set stride: (trick discovered by Andreas Ackermann - thanx!)
|
||||
sh->bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
|
||||
priv->o_bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
|
||||
|
Loading…
Reference in New Issue
Block a user