Lines Matching defs:curr
316 FLACHeaderMarker *curr;
322 curr = header;
323 while (curr != child) {
326 if (curr->link_penalty[i] < FLAC_HEADER_CRC_FAIL_PENALTY) {
328 expected_sample_num += curr->fi.blocksize;
332 curr = curr->next;
346 FLACHeaderMarker *curr;
354 curr = header->next;
355 for (i = 0; i < FLAC_MAX_SEQUENTIAL_HEADERS && curr != child; i++)
356 curr = curr->next;
452 FLACHeaderMarker *curr;
455 for (curr = fpc->headers; curr; curr = curr->next)
456 curr->max_score = FLAC_HEADER_NOT_SCORED_YET;
459 for (curr = fpc->headers; curr; curr = curr->next) {
460 if (score_header(fpc, curr) > best_score) {
461 fpc->best_header = curr;
462 best_score = curr->max_score;
516 FLACHeaderMarker *curr;
548 for (curr = fpc->headers; curr != best_child; curr = temp) {
549 if (curr != fpc->best_header) {
552 curr->max_score, curr->offset, curr->next->offset);
554 temp = curr->next;
555 av_freep(&curr->link_penalty);
556 av_free(curr);
563 for (curr = best_child->next; curr; curr = curr->next)
564 curr->offset -= best_child->offset;
578 for (curr = fpc->headers; curr != fpc->best_header; curr = temp) {
579 temp = curr->next;
580 av_freep(&curr->link_penalty);
581 av_free(curr);
670 curr = fpc->headers;
671 for (curr = fpc->headers; curr; curr = curr->next) {
672 if (curr->max_score > 0 &&
673 (!fpc->best_header || curr->max_score > fpc->best_header->max_score)) {
674 fpc->best_header = curr;
719 FLACHeaderMarker *curr = fpc->headers, *temp;
721 while (curr) {
722 temp = curr->next;
723 av_freep(&curr->link_penalty);
724 av_free(curr);
725 curr = temp;