comparison zmbv.c @ 5153:b985439e3e15 libavcodec

fix some printf format specifiers
author mru
date Sat, 16 Jun 2007 14:52:05 +0000
parents bff60ecc02f9
children 2b72f9bc4f06
comparison
equal deleted inserted replaced
5152:4507b67e71cd 5153:b985439e3e15
144 } 144 }
145 output += c->width * c->bh; 145 output += c->width * c->bh;
146 prev += c->width * c->bh; 146 prev += c->width * c->bh;
147 } 147 }
148 if(src - c->decomp_buf != c->decomp_len) 148 if(src - c->decomp_buf != c->decomp_len)
149 av_log(c->avctx, AV_LOG_ERROR, "Used %i of %i bytes\n", src-c->decomp_buf, c->decomp_len); 149 av_log(c->avctx, AV_LOG_ERROR, "Used %ti of %i bytes\n", src-c->decomp_buf, c->decomp_len);
150 return 0; 150 return 0;
151 } 151 }
152 152
153 /** 153 /**
154 * Decode XOR'ed frame - 15bpp and 16bpp version 154 * Decode XOR'ed frame - 15bpp and 16bpp version
217 } 217 }
218 output += c->width * c->bh; 218 output += c->width * c->bh;
219 prev += c->width * c->bh; 219 prev += c->width * c->bh;
220 } 220 }
221 if(src - c->decomp_buf != c->decomp_len) 221 if(src - c->decomp_buf != c->decomp_len)
222 av_log(c->avctx, AV_LOG_ERROR, "Used %i of %i bytes\n", src-c->decomp_buf, c->decomp_len); 222 av_log(c->avctx, AV_LOG_ERROR, "Used %ti of %i bytes\n", src-c->decomp_buf, c->decomp_len);
223 return 0; 223 return 0;
224 } 224 }
225 225
226 #ifdef ZMBV_ENABLE_24BPP 226 #ifdef ZMBV_ENABLE_24BPP
227 /** 227 /**
373 } 373 }
374 output += c->width * c->bh; 374 output += c->width * c->bh;
375 prev += c->width * c->bh; 375 prev += c->width * c->bh;
376 } 376 }
377 if(src - c->decomp_buf != c->decomp_len) 377 if(src - c->decomp_buf != c->decomp_len)
378 av_log(c->avctx, AV_LOG_ERROR, "Used %i of %i bytes\n", src-c->decomp_buf, c->decomp_len); 378 av_log(c->avctx, AV_LOG_ERROR, "Used %ti of %i bytes\n", src-c->decomp_buf, c->decomp_len);
379 return 0; 379 return 0;
380 } 380 }
381 381
382 /** 382 /**
383 * Decode intraframe 383 * Decode intraframe