vaapi-recorder: Fix allocator sizeof operand mismatch
Result of 'calloc' is converted to a pointer of type 'unsigned int', which is incompatible with sizeof operand type 'int' Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
193c7a54a8
commit
bfae30d814
@ -141,7 +141,7 @@ static void
|
||||
bitstream_start(struct bitstream *bs)
|
||||
{
|
||||
bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
|
||||
bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1);
|
||||
bs->buffer = calloc(bs->max_size_in_dword * sizeof(unsigned int), 1);
|
||||
bs->bit_offset = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user