Advertisement
Guest User

Untitled

a guest
Feb 24th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
  2. index dc0270d..52ca29c 100644
  3. --- a/libavcodec/vc2enc.c
  4. +++ b/libavcodec/vc2enc.c
  5. @@ -867,7 +867,7 @@ static int dwt_plane(AVCodecContext *avctx, void *arg)
  6. }
  7. }
  8.  
  9. - memset(buf, 0, (p->coef_stride*p->dwt_height - p->height*p->width)*sizeof(dwtcoef));
  10. + memset(buf, 0, p->coef_stride * (p->dwt_height - p->height) * sizeof(dwtcoef));
  11.  
  12. for (level = s->wavelet_depth-1; level >= 0; level--) {
  13. const SubBand *b = &p->band[level][0];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement