diff options
-rw-r--r-- | src/dxr3/dxr3_spu_encoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dxr3/dxr3_spu_encoder.c b/src/dxr3/dxr3_spu_encoder.c index c2cfe64a6..8892db59f 100644 --- a/src/dxr3/dxr3_spu_encoder.c +++ b/src/dxr3/dxr3_spu_encoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: dxr3_spu_encoder.c,v 1.1 2002/08/17 14:30:10 mroi Exp $ + * $Id: dxr3_spu_encoder.c,v 1.2 2003/03/02 07:58:18 mroi Exp $ */ #include <stdio.h> @@ -382,7 +382,7 @@ static void convert_overlay(spu_encoder_t *this) } /* we should be byte aligned here */ - assert(higher_nibble); + XINE_ASSERT(higher_nibble, "bad state during spu encoding"); /* control sequence starts here */ this->target[2] = offset >> 8; @@ -467,7 +467,7 @@ static void write_rle(spu_encoder_t *this, int *offset, int *higher_nibble, int write_nibble(this, offset, higher_nibble, (length & 0xc) | color); return; } - assert(0); + XINE_ASSERT(0, "bad state during spu encoding"); } static void write_byte(spu_encoder_t *this, int *offset, uint8_t byte) |