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
91be76a6
Commit
91be76a6
authored
Dec 27, 2007
by
Ivo van Poorten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless cast
Originally committed as revision 11328 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9f175aa0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pcx.c
libavcodec/pcx.c
+1
-1
ptx.c
libavcodec/ptx.c
+1
-1
No files found.
libavcodec/pcx.c
View file @
91be76a6
...
@@ -73,7 +73,7 @@ static int pcx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
...
@@ -73,7 +73,7 @@ static int pcx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
uint8_t
*
buf
,
int
buf_size
)
{
uint8_t
*
buf
,
int
buf_size
)
{
PCXContext
*
const
s
=
avctx
->
priv_data
;
PCXContext
*
const
s
=
avctx
->
priv_data
;
AVFrame
*
picture
=
data
;
AVFrame
*
picture
=
data
;
AVFrame
*
const
p
=
(
AVFrame
*
)
&
s
->
picture
;
AVFrame
*
const
p
=
&
s
->
picture
;
int
xmin
,
ymin
,
xmax
,
ymax
;
int
xmin
,
ymin
,
xmax
,
ymax
;
unsigned
int
w
,
h
,
bits_per_pixel
,
bytes_per_line
,
nplanes
,
stride
,
y
,
x
,
unsigned
int
w
,
h
,
bits_per_pixel
,
bytes_per_line
,
nplanes
,
stride
,
y
,
x
,
bytes_per_scanline
;
bytes_per_scanline
;
...
...
libavcodec/ptx.c
View file @
91be76a6
...
@@ -38,7 +38,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
...
@@ -38,7 +38,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
uint8_t
*
buf
,
int
buf_size
)
{
uint8_t
*
buf
,
int
buf_size
)
{
PTXContext
*
const
s
=
avctx
->
priv_data
;
PTXContext
*
const
s
=
avctx
->
priv_data
;
AVFrame
*
picture
=
data
;
AVFrame
*
picture
=
data
;
AVFrame
*
const
p
=
(
AVFrame
*
)
&
s
->
picture
;
AVFrame
*
const
p
=
&
s
->
picture
;
unsigned
int
offset
,
w
,
h
,
y
,
stride
,
bytes_per_pixel
;
unsigned
int
offset
,
w
,
h
,
y
,
stride
,
bytes_per_pixel
;
uint8_t
*
ptr
;
uint8_t
*
ptr
;
...
...
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