From d566b53668ebc70c56340fcdb9431b6c42acec7d Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 1 Jan 2009 19:19:43 +0000 Subject: [PATCH] Corrected some more bug with attribute list decoding --- libisoburn/trunk/test/aaip_0_2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/test/aaip_0_2.c b/libisoburn/trunk/test/aaip_0_2.c index da71527a..b550e92f 100644 --- a/libisoburn/trunk/test/aaip_0_2.c +++ b/libisoburn/trunk/test/aaip_0_2.c @@ -1128,7 +1128,8 @@ int aaip_decode_pair(struct aaip_state *aaip, size_t ready_bytes; *consumed= 0; - if(aaip->pair_status < 0 || aaip->pair_status == 4 || + if((aaip->pair_status < 0 && aaip->pair_status != -2) || + aaip->pair_status == 4 || aaip->pair_status == 5) { /* dead ends */ ret= aaip->pair_status; goto ex;