Advertisement
Guest User

Untitled

a guest
Jan 9th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. if (zret != Z_OK) {
  2. av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret);
  3. return -1;
  4. }
  5.  
  6. c->cur = av_realloc_f(c->cur, avctx->width * avctx->height, (c->bpp / 8));
  7. c->prev = av_realloc_f(c->prev, avctx->width * avctx->height, (c->bpp / 8));
  8. c->cur = NULL;
  9. c->prev = NULL;
  10. c->bx = (c->width + c->bw - 1) / c->bw;
  11. c->by = (c->height+ c->bh - 1) / c->bh;
  12. if (!c->cur || !c->prev)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement