Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
30853173
Commit
30853173
authored
May 10, 2009
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reindent
Originally committed as revision 18786 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a7e56229
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
msrle.c
libavcodec/msrle.c
+6
-6
No files found.
libavcodec/msrle.c
View file @
30853173
...
...
@@ -80,12 +80,12 @@ static int msrle_decode_frame(AVCodecContext *avctx,
}
if
(
s
->
avctx
->
palctrl
)
{
/* make the palette available */
memcpy
(
s
->
frame
.
data
[
1
],
s
->
avctx
->
palctrl
->
palette
,
AVPALETTE_SIZE
);
if
(
s
->
avctx
->
palctrl
->
palette_changed
)
{
s
->
frame
.
palette_has_changed
=
1
;
s
->
avctx
->
palctrl
->
palette_changed
=
0
;
}
/* make the palette available */
memcpy
(
s
->
frame
.
data
[
1
],
s
->
avctx
->
palctrl
->
palette
,
AVPALETTE_SIZE
);
if
(
s
->
avctx
->
palctrl
->
palette_changed
)
{
s
->
frame
.
palette_has_changed
=
1
;
s
->
avctx
->
palctrl
->
palette_changed
=
0
;
}
}
ff_msrle_decode
(
avctx
,
(
AVPicture
*
)
&
s
->
frame
,
avctx
->
bits_per_coded_sample
,
buf
,
buf_size
);
...
...
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