summaryrefslogtreecommitdiffstats
path: root/ext/libpng/gstpngenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libpng/gstpngenc.c')
-rw-r--r--ext/libpng/gstpngenc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c
index 93845050..9cd39cc3 100644
--- a/ext/libpng/gstpngenc.c
+++ b/ext/libpng/gstpngenc.c
@@ -16,6 +16,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <string.h>
#include <gst/gst.h>
#include "gstpngenc.h"
@@ -198,7 +201,7 @@ gst_pngenc_chain (GstPad *pad, GstBuffer *buf)
/* non-0 return is from a longjmp inside of libpng */
if (setjmp (pngenc->png_struct_ptr->jmpbuf) != 0)
{
- GST_DEBUG (GST_CAT_PLUGIN_INFO, "returning from longjmp");
+ GST_DEBUG ("returning from longjmp");
png_destroy_write_struct (&pngenc->png_struct_ptr, &pngenc->png_info_ptr);
return;
}