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
85383d13
Commit
85383d13
authored
Nov 14, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4xm: eliminate a pointless indirection
parent
aa15afb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
4xm.c
libavcodec/4xm.c
+2
-11
No files found.
libavcodec/4xm.c
View file @
85383d13
...
...
@@ -877,16 +877,6 @@ static int decode_frame(AVCodecContext *avctx, void *data,
return
buf_size
;
}
static
av_cold
void
common_init
(
AVCodecContext
*
avctx
)
{
FourXContext
*
const
f
=
avctx
->
priv_data
;
ff_dsputil_init
(
&
f
->
dsp
,
avctx
);
f
->
avctx
=
avctx
;
}
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
{
FourXContext
*
const
f
=
avctx
->
priv_data
;
...
...
@@ -897,7 +887,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
}
f
->
version
=
AV_RL32
(
avctx
->
extradata
)
>>
16
;
common_init
(
avctx
);
ff_dsputil_init
(
&
f
->
dsp
,
avctx
);
f
->
avctx
=
avctx
;
init_vlcs
(
f
);
if
(
f
->
version
>
2
)
...
...
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