diff options
| author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-10-04 23:22:21 +0000 |
|---|---|---|
| committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-10-04 23:22:21 +0000 |
| commit | 55b8d3f50b253022c61a809f51fe7c68790e1402 (patch) | |
| tree | ef68a4deeaa07f15ec7289ba88b1acbef085726b | |
| parent | e537546257f2dc9081a91928742a417becbd2597 (diff) | |
| download | xine-lib-55b8d3f50b253022c61a809f51fe7c68790e1402.tar.gz xine-lib-55b8d3f50b253022c61a809f51fe7c68790e1402.tar.bz2 | |
hopefully fix problems detecting some subtitle colors
(i forgot these breaks at the original code)
CVS patchset: 734
CVS date: 2001/10/04 23:22:21
| -rw-r--r-- | src/libspudec/spu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c index 3b52ac161..780f4a24b 100644 --- a/src/libspudec/spu.c +++ b/src/libspudec/spu.c @@ -19,7 +19,7 @@ * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * -* $Id: spu.c,v 1.13 2001/09/27 02:11:16 miguelfreitas Exp $ +* $Id: spu.c,v 1.14 2001/10/04 23:22:21 miguelfreitas Exp $ * *****/ @@ -413,6 +413,7 @@ void spuDiscoverClut(spu_state_t *state, vo_overlay_t *ovl) ovl->color[seqcolor[1]] = state->clut[state->cur_colors[seqcolor[1]]]; ovl->color[seqcolor[2]] = state->clut[state->cur_colors[seqcolor[2]]]; state->need_clut = 0; + break; } } if( i == 5 && seqcolor[1] == seqcolor[5] @@ -431,6 +432,7 @@ void spuDiscoverClut(spu_state_t *state, vo_overlay_t *ovl) ovl->color[seqcolor[2]] = state->clut[state->cur_colors[seqcolor[2]]]; ovl->color[seqcolor[3]] = state->clut[state->cur_colors[seqcolor[3]]]; state->need_clut = 0; + break; } } i = 0; |
