Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
b667e70b
Commit
b667e70b
authored
Nov 05, 2002
by
Josh Coalson
Browse files
constify first arg of FLAC__metadata_object_vorbiscomment_find_entry_from()
parent
d600bd04
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/FLAC/metadata.h
View file @
b667e70b
...
...
@@ -1264,7 +1264,7 @@ FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_entry_matches(const FLAC
* The offset in the comment array of the first comment whose field
* name matches \a field_name, or \c -1 if no match was found.
*/
FLAC_API
int
FLAC__metadata_object_vorbiscomment_find_entry_from
(
FLAC__StreamMetadata
*
object
,
unsigned
offset
,
const
char
*
field_name
);
FLAC_API
int
FLAC__metadata_object_vorbiscomment_find_entry_from
(
const
FLAC__StreamMetadata
*
object
,
unsigned
offset
,
const
char
*
field_name
);
/*@@@@ needs unit test still */
/** Remove first Vorbis comment matching the given field name.
...
...
src/libFLAC/metadata_object.c
View file @
b667e70b
...
...
@@ -777,7 +777,7 @@ FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_entry_matches(const FLAC
#undef FLAC__STRNCASECMP
}
FLAC_API
int
FLAC__metadata_object_vorbiscomment_find_entry_from
(
FLAC__StreamMetadata
*
object
,
unsigned
offset
,
const
char
*
field_name
)
FLAC_API
int
FLAC__metadata_object_vorbiscomment_find_entry_from
(
const
FLAC__StreamMetadata
*
object
,
unsigned
offset
,
const
char
*
field_name
)
{
const
unsigned
field_name_length
=
strlen
(
field_name
);
unsigned
i
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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