Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
e35c54e9
Commit
e35c54e9
authored
Aug 19, 2014
by
Jim Bankoski
Committed by
Gerrit Code Review
Aug 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
y4minput.c : removed malloc of 0 bytes to resolve warning
Change-Id: Ic143455b0880e639959732e178cd62140a510b79
parent
75eb3afd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
y4minput.c
y4minput.c
+3
-1
No files found.
y4minput.c
View file @
e35c54e9
...
...
@@ -978,7 +978,9 @@ int y4m_input_open(y4m_input *_y4m, FILE *_fin, char *_skip, int _nskip,
_y4m
->
dst_buf
=
(
unsigned
char
*
)
malloc
(
_y4m
->
dst_buf_sz
);
else
_y4m
->
dst_buf
=
(
unsigned
char
*
)
malloc
(
2
*
_y4m
->
dst_buf_sz
);
_y4m
->
aux_buf
=
(
unsigned
char
*
)
malloc
(
_y4m
->
aux_buf_sz
);
if
(
_y4m
->
aux_buf_sz
>
0
)
_y4m
->
aux_buf
=
(
unsigned
char
*
)
malloc
(
_y4m
->
aux_buf_sz
);
return
0
;
}
...
...
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