From a8715cabd11354da9650dff7c0770686a217b550 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 13 Apr 2013 12:25:16 -0500 Subject: [PATCH] [libpng16] Added "{ }" omitted from previous patch to pngtrans.c --- pngtrans.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pngtrans.c b/pngtrans.c index ee82d4c3f..f822324f8 100644 --- a/pngtrans.c +++ b/pngtrans.c @@ -786,9 +786,11 @@ png_set_user_transform_info(png_structrp png_ptr, png_voidp #ifdef PNG_READ_USER_TRANSFORM_SUPPORTED if ((png_ptr->mode & PNG_IS_READ_STRUCT) != 0 && (png_ptr->flags & PNG_FLAG_ROW_INIT) != 0) - png_app_error(png_ptr, + { + png_app_error(png_ptr, "info change after png_start_read_image or png_read_update_info"); return; + } #endif png_ptr->user_transform_ptr = user_transform_ptr;