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
14bc60db
Commit
14bc60db
authored
Oct 21, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libspeexdec: cosmetics: reindent
parent
7eeaa679
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
libspeexdec.c
libavcodec/libspeexdec.c
+7
-7
No files found.
libavcodec/libspeexdec.c
View file @
14bc60db
...
@@ -125,13 +125,13 @@ static int libspeex_decode_frame(AVCodecContext *avctx,
...
@@ -125,13 +125,13 @@ static int libspeex_decode_frame(AVCodecContext *avctx,
}
}
/* decode a single frame */
/* decode a single frame */
ret
=
speex_decode_int
(
s
->
dec_state
,
&
s
->
bits
,
output
);
ret
=
speex_decode_int
(
s
->
dec_state
,
&
s
->
bits
,
output
);
if
(
ret
<=
-
2
)
{
if
(
ret
<=
-
2
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Error decoding Speex frame.
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"Error decoding Speex frame.
\n
"
);
return
-
1
;
return
-
1
;
}
}
if
(
avctx
->
channels
==
2
)
if
(
avctx
->
channels
==
2
)
speex_decode_stereo_int
(
output
,
s
->
frame_size
,
&
s
->
stereo
);
speex_decode_stereo_int
(
output
,
s
->
frame_size
,
&
s
->
stereo
);
*
data_size
=
out_size
;
*
data_size
=
out_size
;
return
consumed
;
return
consumed
;
...
...
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