Lines Matching defs:next
176 /* offset of the next frame */
199 int ff_combine_frame(ParseContext *pc, int next,
203 ff_dlog(NULL, "overread %d, state:%"PRIX32" next:%d index:%d o_index:%d\n",
204 pc->overread, pc->state, next, pc->index, pc->overread_index);
213 if (next > *buf_size)
217 if (!*buf_size && next == END_NOT_FOUND)
218 next = 0;
223 if (next == END_NOT_FOUND) {
240 av_assert0(next >= 0 || pc->buffer);
243 pc->overread_index = pc->index + next;
248 next + pc->index +
251 av_log(NULL, AV_LOG_ERROR, "Failed to reallocate parser buffer to %d\n", next + pc->index + AV_INPUT_BUFFER_PADDING_SIZE);
257 if (next > -AV_INPUT_BUFFER_PADDING_SIZE)
259 next + AV_INPUT_BUFFER_PADDING_SIZE);
264 if (next < -8) {
265 pc->overread += -8 - next;
266 next = -8;
269 for (; next < 0; next++) {
270 pc->state = pc->state << 8 | pc->buffer[pc->last_index + next];
271 pc->state64 = pc->state64 << 8 | pc->buffer[pc->last_index + next];
276 ff_dlog(NULL, "overread %d, state:%"PRIX32" next:%d index:%d o_index:%d\n",
277 pc->overread, pc->state, next, pc->index, pc->overread_index);