<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -62,7 +62,7 @@ frame_to_ppm(VALUE self)
     char header[255];
     sprintf(header, &quot;P6\n%d %d\n255\n&quot;, width, height);
     
-    int size = strlen(header) + frame-&gt;linesize[0] * height + 1;
+    int size = strlen(header) + frame-&gt;linesize[0] * height;
     char * data_string = malloc(size);
     strcpy(data_string, header);
     </diff>
      <filename>ext/ffmpeg_frame.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4263ae9f2dd262cc234e908fd21cc26eb2da77e4</id>
    </parent>
  </parents>
  <author>
    <name>Antonin Amand</name>
    <email>antonin.amand@gmail.com</email>
  </author>
  <url>http://github.com/gwik/ffmpeg-ruby/commit/30d42e832abbbadd744abca3fa22d5fdc5fcb6b7</url>
  <id>30d42e832abbbadd744abca3fa22d5fdc5fcb6b7</id>
  <committed-date>2009-09-24T15:01:22-07:00</committed-date>
  <authored-date>2009-09-24T15:01:22-07:00</authored-date>
  <message>fix memory allocation in to_ppm</message>
  <tree>cfe8142182156649ae91bb19f3ce01e69a3222a8</tree>
  <committer>
    <name>Antonin Amand</name>
    <email>antonin.amand@gmail.com</email>
  </committer>
</commit>
