mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
parent
4a51075f4d
commit
f1e17eb446
1 changed files with 4 additions and 3 deletions
|
|
@ -259,8 +259,9 @@ static void qtrle_encode_line(QtrleEncContext *s, const AVFrame *p, int line, ui
|
||||||
/* These bulk costs increase every iteration */
|
/* These bulk costs increase every iteration */
|
||||||
lowest_bulk_cost += s->pixel_size;
|
lowest_bulk_cost += s->pixel_size;
|
||||||
sec_lowest_bulk_cost += s->pixel_size;
|
sec_lowest_bulk_cost += s->pixel_size;
|
||||||
|
if (this_line >= p->data[0] + s->pixel_size)
|
||||||
this_line -= s->pixel_size;
|
this_line -= s->pixel_size;
|
||||||
|
if (prev_line >= s->previous_frame->data[0] + s->pixel_size)
|
||||||
prev_line -= s->pixel_size;
|
prev_line -= s->pixel_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue