Mercurial > audlegacy
comparison audacious/util.c @ 1193:03414b9d2507 trunk
[svn] filesize must be cached, otherwise lookup loop will crash.
author | yaz |
---|---|
date | Tue, 13 Jun 2006 08:36:56 -0700 |
parents | 36e8431d8e19 |
children | 99454d030722 |
comparison
equal
deleted
inserted
replaced
1192:62726fb1cb3b | 1193:03414b9d2507 |
---|---|
401 { | 401 { |
402 static gchar *buffer = NULL; | 402 static gchar *buffer = NULL; |
403 static gchar *open_buffer = NULL; | 403 static gchar *open_buffer = NULL; |
404 gchar *ret_buffer = NULL; | 404 gchar *ret_buffer = NULL; |
405 gint found_section = 0, len = 0; | 405 gint found_section = 0, len = 0; |
406 gsize filesize, off = 0; | 406 static gsize filesize = 0; |
407 gsize off = 0; | |
407 gchar *outbuf; | 408 gchar *outbuf; |
408 unsigned char x[] = { 0xff, 0xfe, 0x00 }; | 409 unsigned char x[] = { 0xff, 0xfe, 0x00 }; |
409 guint counter; | 410 guint counter; |
410 | 411 |
411 if (!filename) | 412 if (!filename) |