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
8dbcc9f2
Commit
8dbcc9f2
authored
Nov 10, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment fix
Originally committed as revision 2490 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b595afaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
adpcm.c
libavcodec/adpcm.c
+2
-2
No files found.
libavcodec/adpcm.c
View file @
8dbcc9f2
...
@@ -129,7 +129,7 @@ static int adpcm_encode_init(AVCodecContext *avctx)
...
@@ -129,7 +129,7 @@ static int adpcm_encode_init(AVCodecContext *avctx)
return
-
1
;
/* only stereo or mono =) */
return
-
1
;
/* only stereo or mono =) */
switch
(
avctx
->
codec
->
id
)
{
switch
(
avctx
->
codec
->
id
)
{
case
CODEC_ID_ADPCM_IMA_QT
:
case
CODEC_ID_ADPCM_IMA_QT
:
av_log
(
avctx
,
AV_LOG_ERROR
,
"ADPCM: codec ad
mcp
_ima_qt unsupported for encoding !
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"ADPCM: codec ad
pcm
_ima_qt unsupported for encoding !
\n
"
);
avctx
->
frame_size
=
64
;
/* XXX: can multiple of avctx->channels * 64 (left and right blocks are interleaved) */
avctx
->
frame_size
=
64
;
/* XXX: can multiple of avctx->channels * 64 (left and right blocks are interleaved) */
return
-
1
;
return
-
1
;
break
;
break
;
...
@@ -140,7 +140,7 @@ static int adpcm_encode_init(AVCodecContext *avctx)
...
@@ -140,7 +140,7 @@ static int adpcm_encode_init(AVCodecContext *avctx)
/* seems frame_size isn't taken into account... have to buffer the samples :-( */
/* seems frame_size isn't taken into account... have to buffer the samples :-( */
break
;
break
;
case
CODEC_ID_ADPCM_MS
:
case
CODEC_ID_ADPCM_MS
:
av_log
(
avctx
,
AV_LOG_ERROR
,
"ADPCM: codec ad
mcp
_ms unsupported for encoding !
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"ADPCM: codec ad
pcm
_ms unsupported for encoding !
\n
"
);
return
-
1
;
return
-
1
;
break
;
break
;
default:
default:
...
...
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