Showing the changes to libavfilter/src_buffer.c (1 of 1 file). Show all
Unified · Split
| @@ -471,11 +471,10 @@ static int request_frame(AVFilterLink *link) · 470 unmodified lines | ||
| 471 | 471 | |
| 472 | 472 | switch (link->type) { |
| 473 | 473 | case AVMEDIA_TYPE_VIDEO: |
| 474 | − /* TODO reindent */ | |
| 475 | − avfilter_start_frame(link, avfilter_ref_buffer(buf, ~0)); | |
| 476 | − avfilter_draw_slice(link, 0, link->h, 1); | |
| 477 | − avfilter_end_frame(link); | |
| 478 | − avfilter_unref_buffer(buf); | |
| 474 | + avfilter_start_frame(link, avfilter_ref_buffer(buf, ~0)); | |
| 475 | + avfilter_draw_slice(link, 0, link->h, 1); | |
| 476 | + avfilter_end_frame(link); | |
| 477 | + avfilter_unref_buffer(buf); | |
| 479 | 478 | break; |
| 480 | 479 | case AVMEDIA_TYPE_AUDIO: |
| 481 | 480 | avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0)); |