diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-03-02 07:58:18 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-03-02 07:58:18 +0000 |
commit | 5b8af9db0aa940f68b31a23d2468d7205cc43c0b (patch) | |
tree | b3d6ad64658cf745877e396316edf87c4c88b6bb | |
parent | 7f1b0e9049b8f02b5a052b843c243f1a3ab2165c (diff) | |
download | xine-lib-5b8af9db0aa940f68b31a23d2468d7205cc43c0b.tar.gz xine-lib-5b8af9db0aa940f68b31a23d2468d7205cc43c0b.tar.bz2 |
fix assert()s to bring dxr3 video out back to life
CVS patchset: 4315
CVS date: 2003/03/02 07:58:18
-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) |