projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce7823
)
pngenc: Call png_jmpbuf() instead of accessing png_struct_ptr directly
author
Руслан Ижбулатов
<lrn1986@gmail.com>
Sat, 13 Mar 2010 20:19:35 +0000
(23:19 +0300)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Sun, 14 Mar 2010 19:09:32 +0000
(20:09 +0100)
Fixes #612700 (again)
ext/libpng/gstpngenc.c
patch
|
blob
|
history
diff --git
a/ext/libpng/gstpngenc.c
b/ext/libpng/gstpngenc.c
index
9143fbe
..
7724ec6
100644
(file)
--- a/
ext/libpng/gstpngenc.c
+++ b/
ext/libpng/gstpngenc.c
@@
-269,7
+269,7
@@
gst_pngenc_chain (GstPad * pad, GstBuffer * buf)
}
/* non-0 return is from a longjmp inside of libpng */
- if (setjmp (png
enc->png_struct_ptr->jmpbuf
) != 0) {
+ if (setjmp (png
_jmpbuf (pngenc->png_struct_ptr)
) != 0) {
gst_buffer_unref (buf);
png_destroy_write_struct (&pngenc->png_struct_ptr, &pngenc->png_info_ptr);
GST_ELEMENT_ERROR (pngenc, LIBRARY, FAILED, (NULL),