mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
[417/906] glbumper: Use png_sig_cmp() instead of png_check_sig()
Fixes bug #613186
This commit is contained in:
parent
f82dd7d5e2
commit
e42b3eddbf
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue