comparison libmpcodecs/vd_lzo.c @ 22061:6b82ba8d011b

Simplify
author reimar
date Tue, 30 Jan 2007 18:53:53 +0000
parents 72cda37eb94c
children 56adbcf864de
comparison
equal deleted inserted replaced
22060:72cda37eb94c 22061:6b82ba8d011b
106 return NULL; // skipped frame 106 return NULL; // skipped frame
107 } 107 }
108 108
109 109
110 if (!init_done) { 110 if (!init_done) {
111 lzo_byte *tmp=NULL; 111 lzo_byte *tmp = lzo_malloc(sh->bih->biSizeImage);
112 112
113 // decompress one frame to see if its 113 // decompress one frame to see if its
114 // either YV12 or RGB24 114 // either YV12 or RGB24
115 if (!tmp) tmp = lzo_malloc(sh->bih->biSizeImage);
116
117 mp_msg (MSGT_DECVIDEO, MSGL_V, "[%s] 2 depth %d, format %d data %p len (%d) (%d)\n", 115 mp_msg (MSGT_DECVIDEO, MSGL_V, "[%s] 2 depth %d, format %d data %p len (%d) (%d)\n",
118 MOD_NAME, sh->bih->biBitCount, sh->format, data, len, sh->bih->biSizeImage 116 MOD_NAME, sh->bih->biBitCount, sh->format, data, len, sh->bih->biSizeImage
119 ); 117 );
120 118
121 /* decompress the frame */ 119 /* decompress the frame */