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
e4d2d8c5
Commit
e4d2d8c5
authored
Mar 12, 2010
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ff_ prefix to vorbis_comment
Originally committed as revision 22472 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2972e36e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
flacdec.c
libavformat/flacdec.c
+1
-1
oggdec.h
libavformat/oggdec.h
+1
-1
oggparseflac.c
libavformat/oggparseflac.c
+1
-1
oggparsespeex.c
libavformat/oggparsespeex.c
+1
-1
oggparsetheora.c
libavformat/oggparsetheora.c
+1
-1
oggparsevorbis.c
libavformat/oggparsevorbis.c
+2
-2
No files found.
libavformat/flacdec.c
View file @
e4d2d8c5
...
...
@@ -113,7 +113,7 @@ static int flac_read_header(AVFormatContext *s,
}
/* process supported blocks other than STREAMINFO */
if
(
metadata_type
==
FLAC_METADATA_TYPE_VORBIS_COMMENT
)
{
if
(
vorbis_comment
(
s
,
buffer
,
metadata_size
))
{
if
(
ff_
vorbis_comment
(
s
,
buffer
,
metadata_size
))
{
av_log
(
s
,
AV_LOG_WARNING
,
"error parsing VorbisComment metadata
\n
"
);
}
}
...
...
libavformat/oggdec.h
View file @
e4d2d8c5
...
...
@@ -115,7 +115,7 @@ extern const struct ogg_codec ff_vorbis_codec;
extern
const
AVMetadataConv
ff_vorbiscomment_metadata_conv
[];
int
vorbis_comment
(
AVFormatContext
*
ms
,
uint8_t
*
buf
,
int
size
);
int
ff_
vorbis_comment
(
AVFormatContext
*
ms
,
uint8_t
*
buf
,
int
size
);
static
inline
int
ogg_find_stream
(
struct
ogg
*
ogg
,
int
serial
)
...
...
libavformat/oggparseflac.c
View file @
e4d2d8c5
...
...
@@ -68,7 +68,7 @@ flac_header (AVFormatContext * s, int idx)
st
->
time_base
.
num
=
1
;
st
->
time_base
.
den
=
st
->
codec
->
sample_rate
;
}
else
if
(
mdt
==
FLAC_METADATA_TYPE_VORBIS_COMMENT
)
{
vorbis_comment
(
s
,
os
->
buf
+
os
->
pstart
+
4
,
os
->
psize
-
4
);
ff_
vorbis_comment
(
s
,
os
->
buf
+
os
->
pstart
+
4
,
os
->
psize
-
4
);
}
return
1
;
...
...
libavformat/oggparsespeex.c
View file @
e4d2d8c5
...
...
@@ -75,7 +75,7 @@ static int speex_header(AVFormatContext *s, int idx) {
st
->
time_base
.
num
=
1
;
st
->
time_base
.
den
=
st
->
codec
->
sample_rate
;
}
else
vorbis_comment
(
s
,
p
,
os
->
psize
);
ff_
vorbis_comment
(
s
,
p
,
os
->
psize
);
spxp
->
seq
++
;
return
1
;
...
...
libavformat/oggparsetheora.c
View file @
e4d2d8c5
...
...
@@ -109,7 +109,7 @@ theora_header (AVFormatContext * s, int idx)
st
->
need_parsing
=
AVSTREAM_PARSE_HEADERS
;
}
else
if
(
os
->
buf
[
os
->
pstart
]
==
0x83
)
{
vorbis_comment
(
s
,
os
->
buf
+
os
->
pstart
+
7
,
os
->
psize
-
8
);
ff_
vorbis_comment
(
s
,
os
->
buf
+
os
->
pstart
+
7
,
os
->
psize
-
8
);
}
st
->
codec
->
extradata
=
av_realloc
(
st
->
codec
->
extradata
,
...
...
libavformat/oggparsevorbis.c
View file @
e4d2d8c5
...
...
@@ -42,7 +42,7 @@ const AVMetadataConv ff_vorbiscomment_metadata_conv[] = {
};
int
vorbis_comment
(
AVFormatContext
*
as
,
uint8_t
*
buf
,
int
size
)
ff_
vorbis_comment
(
AVFormatContext
*
as
,
uint8_t
*
buf
,
int
size
)
{
const
uint8_t
*
p
=
buf
;
const
uint8_t
*
end
=
buf
+
size
;
...
...
@@ -220,7 +220,7 @@ vorbis_header (AVFormatContext * s, int idx)
st
->
time_base
.
den
=
st
->
codec
->
sample_rate
;
}
else
if
(
os
->
buf
[
os
->
pstart
]
==
3
)
{
if
(
os
->
psize
>
8
)
vorbis_comment
(
s
,
os
->
buf
+
os
->
pstart
+
7
,
os
->
psize
-
8
);
ff_
vorbis_comment
(
s
,
os
->
buf
+
os
->
pstart
+
7
,
os
->
psize
-
8
);
}
else
{
st
->
codec
->
extradata_size
=
fixup_vorbis_headers
(
s
,
priv
,
&
st
->
codec
->
extradata
);
...
...
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