Showing the changes to libavfilter/avfiltergraph.c (1 of 5 files). Show all
Unified · Split
| @@ -1326,7 +1326,7 @@ static void heap_bubble_up(FFFilterGraph *graph, · 1325 unmodified lines | |||
| 1326 | 1326 | ||
| 1327 | while (index) { | 1327 | while (index) { |
| 1328 | int parent = (index - 1) >> 1; | 1328 | int parent = (index - 1) >> 1; |
| 1329 | if (links[parent]->l.pub.current_pts_us >= li->l.pub.current_pts_us) | 1329 | if (links[parent]->l.current_pts_us >= li->l.current_pts_us) |
| 1330 | break; | 1330 | break; |
| 1331 | links[index] = links[parent]; | 1331 | links[index] = links[parent]; |
| 1332 | links[index]->age_index = index; | 1332 | links[index]->age_index = index; |
| @@ -1348,9 +1348,9 @@ static void heap_bubble_down(FFFilterGraph *graph, · 15 unmodified lines | |||
| 1348 | if (child >= graph->sink_links_count) | 1348 | if (child >= graph->sink_links_count) |
| 1349 | break; | 1349 | break; |
| 1350 | if (child + 1 < graph->sink_links_count && | 1350 | if (child + 1 < graph->sink_links_count && |
| 1351 | links[child + 1]->l.pub.current_pts_us < links[child]->l.pub.current_pts_us) | 1351 | links[child + 1]->l.current_pts_us < links[child]->l.current_pts_us) |
| 1352 | child++; | 1352 | child++; |
| 1353 | if (li->l.pub.current_pts_us < links[child]->l.pub.current_pts_us) | 1353 | if (li->l.current_pts_us < links[child]->l.current_pts_us) |
| 1354 | break; | 1354 | break; |
| 1355 | links[index] = links[child]; | 1355 | links[index] = links[child]; |
| 1356 | links[index]->age_index = index; | 1356 | links[index]->age_index = index; |