[417/906] glbumper: Use png_sig_cmp() instead of png_check_sig()

Fixes bug #613186
This commit is contained in:
Руслан Ижбулатов 2010-03-31 12:40:12 +02:00 committed by Matthew Waters
parent f82dd7d5e2
commit e42b3eddbf

View file

@ -182,7 +182,7 @@ gst_gl_bumper_init_resources (GstGLFilter * filter)
n_read = fread (magic, 1, sizeof (magic), fp);
/* Check for valid magic number */
if (!png_check_sig (magic, sizeof (magic))) {
if (png_sig_cmp (magic, 0, sizeof (magic))) {
fclose (fp);
LOAD_ERROR ("not a valid PNG image");
}