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
62790b99
Commit
62790b99
authored
Mar 26, 2003
by
François Revol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug stuff only for DEBUG :)
Originally committed as revision 1708 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8e0a3db7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mace.c
libavcodec/mace.c
+4
-0
No files found.
libavcodec/mace.c
View file @
62790b99
...
@@ -403,14 +403,18 @@ static int mace_decode_frame(AVCodecContext *avctx,
...
@@ -403,14 +403,18 @@ static int mace_decode_frame(AVCodecContext *avctx,
samples
=
(
short
*
)
data
;
samples
=
(
short
*
)
data
;
switch
(
avctx
->
codec
->
id
)
{
switch
(
avctx
->
codec
->
id
)
{
case
CODEC_ID_MACE3
:
case
CODEC_ID_MACE3
:
#ifdef DEBUG
puts
(
"mace_decode_frame[3]()"
);
puts
(
"mace_decode_frame[3]()"
);
#endif
Exp1to3
(
c
,
buf
,
samples
,
buf_size
/
2
,
avctx
->
channels
,
1
);
Exp1to3
(
c
,
buf
,
samples
,
buf_size
/
2
,
avctx
->
channels
,
1
);
if
(
avctx
->
channels
==
2
)
if
(
avctx
->
channels
==
2
)
Exp1to3
(
c
,
buf
,
samples
+
1
,
buf_size
/
2
,
2
,
2
);
Exp1to3
(
c
,
buf
,
samples
+
1
,
buf_size
/
2
,
2
,
2
);
*
data_size
=
2
*
3
*
buf_size
;
*
data_size
=
2
*
3
*
buf_size
;
break
;
break
;
case
CODEC_ID_MACE6
:
case
CODEC_ID_MACE6
:
#ifdef DEBUG
puts
(
"mace_decode_frame[6]()"
);
puts
(
"mace_decode_frame[6]()"
);
#endif
Exp1to6
(
c
,
buf
,
samples
,
buf_size
,
avctx
->
channels
,
1
);
Exp1to6
(
c
,
buf
,
samples
,
buf_size
,
avctx
->
channels
,
1
);
if
(
avctx
->
channels
==
2
)
if
(
avctx
->
channels
==
2
)
Exp1to6
(
c
,
buf
,
samples
+
1
,
buf_size
,
2
,
2
);
Exp1to6
(
c
,
buf
,
samples
+
1
,
buf_size
,
2
,
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