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
95212368
Commit
95212368
authored
Nov 07, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/libfdk-aacdec: remove redundant log messages
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
315e3cf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
libfdk-aacdec.c
libavcodec/libfdk-aacdec.c
+2
-6
No files found.
libavcodec/libfdk-aacdec.c
View file @
95212368
...
@@ -229,10 +229,8 @@ static int fdk_aac_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -229,10 +229,8 @@ static int fdk_aac_decode_frame(AVCodecContext *avctx, void *data,
if
(
s
->
initialized
)
{
if
(
s
->
initialized
)
{
frame
->
nb_samples
=
avctx
->
frame_size
;
frame
->
nb_samples
=
avctx
->
frame_size
;
if
((
ret
=
ff_get_buffer
(
avctx
,
frame
,
0
))
<
0
)
{
if
((
ret
=
ff_get_buffer
(
avctx
,
frame
,
0
))
<
0
)
av_log
(
avctx
,
AV_LOG_ERROR
,
"ff_get_buffer() failed
\n
"
);
return
ret
;
return
ret
;
}
buf
=
frame
->
extended_data
[
0
];
buf
=
frame
->
extended_data
[
0
];
buf_size
=
avctx
->
channels
*
frame
->
nb_samples
*
buf_size
=
avctx
->
channels
*
frame
->
nb_samples
*
av_get_bytes_per_sample
(
avctx
->
sample_fmt
);
av_get_bytes_per_sample
(
avctx
->
sample_fmt
);
...
@@ -264,10 +262,8 @@ static int fdk_aac_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -264,10 +262,8 @@ static int fdk_aac_decode_frame(AVCodecContext *avctx, void *data,
if
(
tmpptr
)
{
if
(
tmpptr
)
{
frame
->
nb_samples
=
avctx
->
frame_size
;
frame
->
nb_samples
=
avctx
->
frame_size
;
if
((
ret
=
ff_get_buffer
(
avctx
,
frame
,
0
))
<
0
)
{
if
((
ret
=
ff_get_buffer
(
avctx
,
frame
,
0
))
<
0
)
av_log
(
avctx
,
AV_LOG_ERROR
,
"ff_get_buffer() failed
\n
"
);
goto
end
;
goto
end
;
}
memcpy
(
frame
->
extended_data
[
0
],
tmpptr
,
memcpy
(
frame
->
extended_data
[
0
],
tmpptr
,
avctx
->
channels
*
avctx
->
frame_size
*
avctx
->
channels
*
avctx
->
frame_size
*
av_get_bytes_per_sample
(
avctx
->
sample_fmt
));
av_get_bytes_per_sample
(
avctx
->
sample_fmt
));
...
...
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