Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
59b05350
Commit
59b05350
authored
Mar 31, 2009
by
Stefano Sabatini
Browse files
Reindent after the last patch.
Originally committed as revision 18292 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c95dd8d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
libavcodec/pixdesc.h
View file @
59b05350
...
...
@@ -118,17 +118,17 @@ static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int li
*
dst
++=
val
;
}
}
else
{
const
uint8_t
*
p
=
data
[
plane
]
+
y
*
linesize
[
plane
]
+
x
*
step
+
comp
.
offset_plus1
-
1
;
const
uint8_t
*
p
=
data
[
plane
]
+
y
*
linesize
[
plane
]
+
x
*
step
+
comp
.
offset_plus1
-
1
;
while
(
w
--
){
int
val
;
if
(
flags
&
PIX_FMT_BE
)
val
=
AV_RB16
(
p
);
else
val
=
AV_RL16
(
p
);
val
=
(
val
>>
shift
)
&
mask
;
if
(
flags
&
PIX_FMT_PAL
)
val
=
data
[
1
][
4
*
val
+
c
];
while
(
w
--
){
int
val
;
if
(
flags
&
PIX_FMT_BE
)
val
=
AV_RB16
(
p
);
else
val
=
AV_RL16
(
p
);
val
=
(
val
>>
shift
)
&
mask
;
if
(
flags
&
PIX_FMT_PAL
)
val
=
data
[
1
][
4
*
val
+
c
];
p
+=
step
;
*
dst
++=
val
;
}
*
dst
++=
val
;
}
}
}
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