262
262
return AVERROR(ENOMEM);
263
263
pc->buffer = new_buffer;
264
memcpy(&pc->buffer[pc->index], *buf, next + FF_INPUT_BUFFER_PADDING_SIZE );
264
if (next > -FF_INPUT_BUFFER_PADDING_SIZE)
265
memcpy(&pc->buffer[pc->index], *buf,
266
next + FF_INPUT_BUFFER_PADDING_SIZE);
266
268
*buf= pc->buffer;