mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
parent
99f8d32129
commit
07050d7bdc
@ -108,8 +108,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
|
|||||||
s->dst_tff ? "up" : "down");
|
s->dst_tff ? "up" : "down");
|
||||||
h = frame->height;
|
h = frame->height;
|
||||||
for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) {
|
for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) {
|
||||||
dst_line_step = out->linesize[plane];
|
dst_line_step = out->linesize[plane] * (h > 2);
|
||||||
src_line_step = frame->linesize[plane];
|
src_line_step = frame->linesize[plane] * (h > 2);
|
||||||
line_size = s->line_size[plane];
|
line_size = s->line_size[plane];
|
||||||
dst = out->data[plane];
|
dst = out->data[plane];
|
||||||
src = frame->data[plane];
|
src = frame->data[plane];
|
||||||
|
Loading…
Reference in New Issue
Block a user