# HG changeset patch # User rtognimp # Date 1088334425 0 # Node ID 586a6e8f3290bff1dbcdc4ab93f9a7970f3577c8 # Parent bcc91fa6769460c2bec44d974a93db388d44d241 Force alignement for rpza and smc diff -r bcc91fa67694 -r 586a6e8f3290 utils.c --- a/utils.c Sun Jun 27 11:06:30 2004 +0000 +++ b/utils.c Sun Jun 27 11:07:05 2004 +0000 @@ -159,6 +159,16 @@ w_align=64; h_align=64; } + case PIX_FMT_RGB555: + if(s->codec_id == CODEC_ID_RPZA){ + w_align=4; + h_align=4; + } + case PIX_FMT_PAL8: + if(s->codec_id == CODEC_ID_SMC){ + w_align=4; + h_align=4; + } break; default: w_align= 1;