Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libopusenc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
libopusenc
Commits
802597c5
Unverified
Commit
802597c5
authored
Dec 29, 2017
by
Jean-Marc Valin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes uninitialized seen_file_icons
parent
7fd2315d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
src/opusenc.c
src/opusenc.c
+1
-0
src/picture.c
src/picture.c
+0
-4
No files found.
src/opusenc.c
View file @
802597c5
...
...
@@ -88,6 +88,7 @@ OggOpusComments *ope_comments_create() {
libopus_str
=
opus_get_version_string
();
snprintf
(
vendor_str
,
sizeof
(
vendor_str
),
"%s, %s %s"
,
libopus_str
,
PACKAGE_NAME
,
PACKAGE_VERSION
);
_ope_comment_init
(
&
c
->
comment
,
&
c
->
comment_length
,
vendor_str
);
c
->
seen_file_icons
=
0
;
if
(
c
->
comment
==
NULL
)
{
free
(
c
);
return
NULL
;
...
...
src/picture.c
View file @
802597c5
...
...
@@ -251,10 +251,6 @@ char *_ope_parse_picture_specification(const char *filename, int picture_type, c
size_t
data_length
;
size_t
b64_length
;
*
error
=
OPE_OK
;
/*If a filename has a '|' in it, there's no way we can distinguish it from a
full specification just from the spec string.
Instead, try to open the file.
If it exists, the user probably meant the file.*/
if
(
picture_type
<
0
)
picture_type
=
3
;
if
(
picture_type
>
20
)
{
*
error
=
OPE_INVALID_PICTURE
;
...
...
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