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
3a2adeed
Commit
3a2adeed
authored
Apr 07, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/riffdec: pass correct pointer to av_log
parent
4c8e3725
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
riffdec.c
libavformat/riffdec.c
+3
-3
No files found.
libavformat/riffdec.c
View file @
3a2adeed
...
...
@@ -58,7 +58,7 @@ enum AVCodecID ff_codec_guid_get_id(const AVCodecGuid *guids, ff_asf_guid guid)
* an openended structure.
*/
static
void
parse_waveformatex
(
AVIOContext
*
pb
,
AVCodecParameters
*
par
)
static
void
parse_waveformatex
(
AV
FormatContext
*
s
,
AV
IOContext
*
pb
,
AVCodecParameters
*
par
)
{
ff_asf_guid
subformat
;
int
bps
;
...
...
@@ -81,7 +81,7 @@ static void parse_waveformatex(AVIOContext *pb, AVCodecParameters *par)
}
else
{
par
->
codec_id
=
ff_codec_guid_get_id
(
ff_codec_wav_guids
,
subformat
);
if
(
!
par
->
codec_id
)
av_log
(
pb
,
AV_LOG_WARNING
,
av_log
(
s
,
AV_LOG_WARNING
,
"unknown subformat:"
FF_PRI_GUID
"
\n
"
,
FF_ARG_GUID
(
subformat
));
}
...
...
@@ -140,7 +140,7 @@ int ff_get_wav_header(AVFormatContext *s, AVIOContext *pb,
size
-=
18
;
cbSize
=
FFMIN
(
size
,
cbSize
);
if
(
cbSize
>=
22
&&
id
==
0xfffe
)
{
/* WAVEFORMATEXTENSIBLE */
parse_waveformatex
(
pb
,
par
);
parse_waveformatex
(
s
,
pb
,
par
);
cbSize
-=
22
;
size
-=
22
;
}
...
...
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