commit | e80a30bcd6ce7e76ae2c8dc918faedb0af649258 | [log] [tgz] |
---|---|---|
author | Cristy <urban-warrior@imagemagick.org> | Sun Mar 25 17:43:24 2018 -0400 |
committer | Cristy <urban-warrior@imagemagick.org> | Sun Mar 25 17:43:24 2018 -0400 |
tree | 675fb13276a4e98303bcefcc18704c33a9bdc8e8 | |
parent | b81a67cfe56c8deb1c346e347aa3f2b8de23a061 [diff] [blame] |
...
diff --git a/coders/mtv.c b/coders/mtv.c index 8778c7a..5528480 100644 --- a/coders/mtv.c +++ b/coders/mtv.c
@@ -212,7 +212,8 @@ if (image->scene >= (image_info->scene+image_info->number_scenes-1)) break; *buffer='\0'; - (void) ReadBlobString(image,buffer); + if (ReadBlobString(image,buffer) == (char *) NULL) + break; count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); if (count > 0) {