mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
Simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22079 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6e2e6cbb6a
commit
fa1176f636
@ -108,12 +108,10 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
|
|||||||
|
|
||||||
|
|
||||||
if (!init_done) {
|
if (!init_done) {
|
||||||
lzo_byte *tmp=NULL;
|
lzo_byte *tmp = lzo_malloc(sh->bih->biSizeImage);
|
||||||
|
|
||||||
// decompress one frame to see if its
|
// decompress one frame to see if its
|
||||||
// either YV12 or RGB24
|
// either YV12 or RGB24
|
||||||
if (!tmp) tmp = lzo_malloc(sh->bih->biSizeImage);
|
|
||||||
|
|
||||||
mp_msg (MSGT_DECVIDEO, MSGL_V, "[%s] 2 depth %d, format %d data %p len (%d) (%d)\n",
|
mp_msg (MSGT_DECVIDEO, MSGL_V, "[%s] 2 depth %d, format %d data %p len (%d) (%d)\n",
|
||||||
MOD_NAME, sh->bih->biBitCount, sh->format, data, len, sh->bih->biSizeImage
|
MOD_NAME, sh->bih->biBitCount, sh->format, data, len, sh->bih->biSizeImage
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user