Go to the documentation of this file.
77 if (pkt->
size <= size)
89 if ((
unsigned)grow_by >
102 #define DUP_DATA(dst, src, size, padding) \
106 if ((unsigned)(size) > \
107 (unsigned)(size) + FF_INPUT_BUFFER_PADDING_SIZE) \
109 data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); \
111 data = av_malloc(size); \
115 memcpy(data, src, size); \
117 memset((uint8_t *)data + size, 0, \
118 FF_INPUT_BUFFER_PADDING_SIZE); \
170 if ((
unsigned)elems + 1 > INT_MAX /
sizeof(*pkt->
side_data))