Commit e35c54e9 authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

y4minput.c : removed malloc of 0 bytes to resolve warning

Change-Id: Ic143455b0880e639959732e178cd62140a510b79
parent 75eb3afd
......@@ -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);
_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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment