Mercurial > libavcodec.hg
comparison sunrast.c @ 6086:e458d5374a03 libavcodec
remove forgotten debug statement
author | ivo |
---|---|
date | Fri, 28 Dec 2007 13:12:47 +0000 |
parents | d33520d1ca92 |
children | 5b6f78cd3d50 |
comparison
equal
deleted
inserted
replaced
6085:cb88719b7fef | 6086:e458d5374a03 |
---|---|
118 if (maplength % 3 || maplength > 768) { | 118 if (maplength % 3 || maplength > 768) { |
119 av_log(avctx, AV_LOG_WARNING, "invalid colormap length\n"); | 119 av_log(avctx, AV_LOG_WARNING, "invalid colormap length\n"); |
120 return -1; | 120 return -1; |
121 } | 121 } |
122 | 122 |
123 av_log(avctx, AV_LOG_DEBUG, "maplength %u\n", len); | |
124 | |
125 ptr = p->data[1]; | 123 ptr = p->data[1]; |
126 for (x=0; x<len; x++, ptr+=4) | 124 for (x=0; x<len; x++, ptr+=4) |
127 *(uint32_t *)ptr = (buf[x]<<16) + (buf[len+x]<<8) + buf[len+len+x]; | 125 *(uint32_t *)ptr = (buf[x]<<16) + (buf[len+x]<<8) + buf[len+len+x]; |
128 } | 126 } |
129 | 127 |