Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
cb07a716
Commit
cb07a716
authored
Dec 16, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed (again) a rendering bug on big endian systems. :-p
parent
0863e5b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
modules/codec/spudec/parse.c
modules/codec/spudec/parse.c
+1
-7
No files found.
modules/codec/spudec/parse.c
View file @
cb07a716
...
...
@@ -2,7 +2,7 @@
* parse.c: SPU parser
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: parse.c,v 1.
6 2002/12/06 16:34:05 sam
Exp $
* $Id: parse.c,v 1.
7 2002/12/16 23:25:23 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -316,15 +316,9 @@ static int ParseControlSeq( spudec_thread_t *p_spudec,
GetBits
(
&
p_spudec
->
bit_stream
,
4
)
];
/* FIXME: this job should be done sooner */
#ifndef WORDS_BIGENDIAN
p_spu
->
p_sys
->
pi_yuv
[
3
-
i
][
0
]
=
(
i_color
>>
16
)
&
0xff
;
p_spu
->
p_sys
->
pi_yuv
[
3
-
i
][
1
]
=
(
i_color
>>
0
)
&
0xff
;
p_spu
->
p_sys
->
pi_yuv
[
3
-
i
][
2
]
=
(
i_color
>>
8
)
&
0xff
;
#else
p_spu
->
p_sys
->
pi_yuv
[
3
-
i
][
0
]
=
(
i_color
>>
8
)
&
0xff
;
p_spu
->
p_sys
->
pi_yuv
[
3
-
i
][
1
]
=
(
i_color
>>
24
)
&
0xff
;
p_spu
->
p_sys
->
pi_yuv
[
3
-
i
][
2
]
=
(
i_color
>>
16
)
&
0xff
;
#endif
}
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment