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
02ac6a65
Commit
02ac6a65
authored
Oct 25, 2011
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libcelt_dec: whitespace cosmetics.
parent
61b1805f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libcelt_dec.c
libavcodec/libcelt_dec.c
+2
-2
No files found.
libavcodec/libcelt_dec.c
View file @
02ac6a65
...
@@ -33,7 +33,7 @@ struct libcelt_context {
...
@@ -33,7 +33,7 @@ struct libcelt_context {
static
int
ff_celt_error_to_averror
(
int
err
)
static
int
ff_celt_error_to_averror
(
int
err
)
{
{
switch
(
err
)
{
switch
(
err
)
{
case
CELT_BAD_ARG
:
return
AVERROR
(
EINVAL
);
case
CELT_BAD_ARG
:
return
AVERROR
(
EINVAL
);
#ifdef CELT_BUFFER_TOO_SMALL
#ifdef CELT_BUFFER_TOO_SMALL
case
CELT_BUFFER_TOO_SMALL
:
return
AVERROR
(
ENOBUFS
);
case
CELT_BUFFER_TOO_SMALL
:
return
AVERROR
(
ENOBUFS
);
...
@@ -82,7 +82,7 @@ static av_cold int libcelt_dec_init(AVCodecContext *c)
...
@@ -82,7 +82,7 @@ static av_cold int libcelt_dec_init(AVCodecContext *c)
}
}
celt
->
discard
*=
c
->
channels
*
sizeof
(
int16_t
);
celt
->
discard
*=
c
->
channels
*
sizeof
(
int16_t
);
}
}
if
(
c
->
extradata_size
>=
8
)
{
if
(
c
->
extradata_size
>=
8
)
{
unsigned
version
=
AV_RL32
(
c
->
extradata
+
4
);
unsigned
version
=
AV_RL32
(
c
->
extradata
+
4
);
unsigned
lib_version
=
ff_celt_bitstream_version_hack
(
celt
->
mode
);
unsigned
lib_version
=
ff_celt_bitstream_version_hack
(
celt
->
mode
);
if
(
version
!=
lib_version
)
if
(
version
!=
lib_version
)
...
...
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