Commit 06db3bfb authored by conrad's avatar conrad

fix use of unintialized value in read-generated.c


git-svn-id: http://svn.annodex.net/liboggz/trunk@521 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent e0f35af0
......@@ -142,7 +142,7 @@ main (int argc, char * argv[])
oggz_set_read_callback (reader, -1, read_packet, NULL);
while ((n = oggz_write_output (writer, buf, 1024)) > 0) {
oggz_read_input (reader, buf, 1024);
oggz_read_input (reader, buf, n);
}
if (oggz_close (reader) != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment