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
2b8b0da0
Commit
2b8b0da0
authored
Aug 28, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fdctdsp: cosmetics: Drop one unnecessary if-block level
parent
d2a4e4b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
fdctdsp.c
libavcodec/fdctdsp.c
+8
-10
No files found.
libavcodec/fdctdsp.c
View file @
2b8b0da0
...
...
@@ -30,17 +30,15 @@ av_cold void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx)
if
(
avctx
->
bits_per_raw_sample
==
10
)
{
c
->
fdct
=
ff_jpeg_fdct_islow_10
;
c
->
fdct248
=
ff_fdct248_islow_10
;
}
else
if
(
avctx
->
dct_algo
==
FF_DCT_FASTINT
)
{
c
->
fdct
=
ff_fdct_ifast
;
c
->
fdct248
=
ff_fdct_ifast248
;
}
else
if
(
avctx
->
dct_algo
==
FF_DCT_FAAN
)
{
c
->
fdct
=
ff_faandct
;
c
->
fdct248
=
ff_faandct248
;
}
else
{
if
(
avctx
->
dct_algo
==
FF_DCT_FASTINT
)
{
c
->
fdct
=
ff_fdct_ifast
;
c
->
fdct248
=
ff_fdct_ifast248
;
}
else
if
(
avctx
->
dct_algo
==
FF_DCT_FAAN
)
{
c
->
fdct
=
ff_faandct
;
c
->
fdct248
=
ff_faandct248
;
}
else
{
c
->
fdct
=
ff_jpeg_fdct_islow_8
;
// slow/accurate/default
c
->
fdct248
=
ff_fdct248_islow_8
;
}
c
->
fdct
=
ff_jpeg_fdct_islow_8
;
// slow/accurate/default
c
->
fdct248
=
ff_fdct248_islow_8
;
}
if
(
ARCH_PPC
)
...
...
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