Skip to content

Commit 3652d1c

Browse files
author
Nick Briggs
committed
Refs #100998 replace block_New() with block_Alloc() in vlc plugin
1 parent 5330736 commit 3652d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vlc/ccn.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ CCNBlock(access_t *p_access)
366366
if (start_offset > data_size) {
367367
msg_Err(p_access, "CCNBlock start_offset %"PRId64" > data_size %zu", start_offset, data_size);
368368
} else {
369-
p_block = block_New(p_access, data_size - start_offset);
369+
p_block = block_Alloc(data_size - start_offset);
370370
memcpy(p_block->p_buffer, data + start_offset, data_size - start_offset);
371371
}
372372
p_access->info.i_pos += (data_size - start_offset);

0 commit comments

Comments
 (0)