mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gst/gstregistrybinary.c: Oh my, studip, stupid me. Remove double stat() call.
Original commit message from CVS: * gst/gstregistrybinary.c: Oh my, studip, stupid me. Remove double stat() call.
This commit is contained in:
parent
5b29f0a1cc
commit
0d430a59ef
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-10-31 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/gstregistrybinary.c:
|
||||||
|
Oh my, studip, stupid me. Remove double stat() call.
|
||||||
|
|
||||||
2008-10-31 Stefan Kost <ensonic@users.sf.net>
|
2008-10-31 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/gstpreset.c:
|
* gst/gstpreset.c:
|
||||||
|
|
|
@ -768,7 +768,6 @@ gst_registry_binary_write_cache (GstRegistry * registry, const char *location)
|
||||||
int ret;
|
int ret;
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
|
|
||||||
ret = g_stat (plugin->filename, &statbuf);
|
|
||||||
if ((ret = g_stat (plugin->filename, &statbuf)) < 0 ||
|
if ((ret = g_stat (plugin->filename, &statbuf)) < 0 ||
|
||||||
plugin->file_mtime != statbuf.st_mtime ||
|
plugin->file_mtime != statbuf.st_mtime ||
|
||||||
plugin->file_size != statbuf.st_size)
|
plugin->file_size != statbuf.st_size)
|
||||||
|
|
Loading…
Reference in a new issue