diff options
Diffstat (limited to 'src/db-artwork-parser.c')
-rw-r--r-- | src/db-artwork-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c index 5a9254e..8731050 100644 --- a/src/db-artwork-parser.c +++ b/src/db-artwork-parser.c @@ -401,7 +401,7 @@ parse_mhfd (DBParseContext *ctx, Itdb_iTunesDB *db, GError **error) } /* Sanity check */ - g_assert (GINT_FROM_LE (mhfd->total_len) == ctx->total_len); + g_return_val_if_fail (GINT_FROM_LE (mhfd->total_len) == ctx->total_len, -1); dump_mhfd (mhfd); cur_pos = ctx->header_len; |