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
f457edb6
Commit
f457edb6
authored
Oct 22, 2013
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacdec: Use avpriv_report_missing_feature() instead of custom logging.
parent
b1fcdc08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
aacdec.c
libavcodec/aacdec.c
+9
-10
No files found.
libavcodec/aacdec.c
View file @
f457edb6
...
@@ -754,9 +754,9 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
...
@@ -754,9 +754,9 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
case
AOT_ER_AAC_LD
:
case
AOT_ER_AAC_LD
:
res_flags
=
get_bits
(
gb
,
3
);
res_flags
=
get_bits
(
gb
,
3
);
if
(
res_flags
)
{
if
(
res_flags
)
{
av
_log
(
avctx
,
AV_LOG_ERROR
,
av
priv_report_missing_feature
(
avctx
,
AV_LOG_ERROR
,
"AAC data resilience not supported (flags %x)
\n
"
,
"AAC data resilience (flags %x)
"
,
res_flags
);
res_flags
);
return
AVERROR_PATCHWELCOME
;
return
AVERROR_PATCHWELCOME
;
}
}
break
;
break
;
...
@@ -770,9 +770,8 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
...
@@ -770,9 +770,8 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
case
AOT_ER_AAC_LD
:
case
AOT_ER_AAC_LD
:
ep_config
=
get_bits
(
gb
,
2
);
ep_config
=
get_bits
(
gb
,
2
);
if
(
ep_config
)
{
if
(
ep_config
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
avpriv_report_missing_feature
(
avctx
,
AV_LOG_ERROR
,
"epConfig %d is not supported.
\n
"
,
"epConfig %d"
,
ep_config
);
ep_config
);
return
AVERROR_PATCHWELCOME
;
return
AVERROR_PATCHWELCOME
;
}
}
}
}
...
@@ -838,10 +837,10 @@ static int decode_audio_specific_config(AACContext *ac,
...
@@ -838,10 +837,10 @@ static int decode_audio_specific_config(AACContext *ac,
return
ret
;
return
ret
;
break
;
break
;
default:
default:
av
_log
(
avctx
,
AV_LOG_ERROR
,
av
priv_report_missing_feature
(
avctx
,
AV_LOG_ERROR
,
"Audio object type %s%d is not supported.
\n
"
,
"Audio object type %s%d
"
,
m4ac
->
sbr
==
1
?
"SBR+"
:
""
,
m4ac
->
sbr
==
1
?
"SBR+"
:
""
,
m4ac
->
object_type
);
m4ac
->
object_type
);
return
AVERROR
(
ENOSYS
);
return
AVERROR
(
ENOSYS
);
}
}
...
...
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