1
mirror of https://github.com/mpv-player/mpv synced 2024-07-27 17:48:22 +02:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22079 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-01-30 18:53:53 +00:00
parent 6e2e6cbb6a
commit fa1176f636

View File

@ -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
); );