Mercurial > mplayer.hg
changeset 22061:6b82ba8d011b
Simplify
author | reimar |
---|---|
date | Tue, 30 Jan 2007 18:53:53 +0000 |
parents | 72cda37eb94c |
children | 56adbcf864de |
files | libmpcodecs/vd_lzo.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_lzo.c Tue Jan 30 18:51:23 2007 +0000 +++ b/libmpcodecs/vd_lzo.c Tue Jan 30 18:53:53 2007 +0000 @@ -108,12 +108,10 @@ if (!init_done) { - lzo_byte *tmp=NULL; + lzo_byte *tmp = lzo_malloc(sh->bih->biSizeImage); // decompress one frame to see if its // 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", MOD_NAME, sh->bih->biBitCount, sh->format, data, len, sh->bih->biSizeImage );