All pastes #273400 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-12-09 21:47 UTC
rendered paste body
Index: libavcodec/jpeg_ls.c
===================================================================
--- libavcodec/jpeg_ls.c        (revision 7265)
+++ libavcodec/jpeg_ls.c        (working copy)
@@ -705,6 +705,7 @@
     int comps;
 
     buf2 = av_malloc(buf_size);
+    memset(buf2, 0, buf_size);
 
     init_put_bits(&pb, buf, buf_size);
     init_put_bits(&pb2, buf2, buf_size);