You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
avcodec/refstruct: Inline ff_refstruct_allocz()
Suggested by James Almer. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -113,11 +113,6 @@ void *ff_refstruct_alloc_ext_c(size_t size, unsigned flags, FFRefStructOpaque op
|
||||
return obj;
|
||||
}
|
||||
|
||||
void *ff_refstruct_allocz(size_t size)
|
||||
{
|
||||
return ff_refstruct_alloc_ext(size, 0, NULL, NULL);
|
||||
}
|
||||
|
||||
void ff_refstruct_unref(void *objp)
|
||||
{
|
||||
void *obj;
|
||||
|
Reference in New Issue
Block a user