History

avfilter/vf_lut: fix regression with >8bit planar filtering

Paul B Mahol committed 7 years ago

Commit 0f39ef41 parent a5142441 file · +2 −2Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_lut.c+2−2
@@ -456,8 +456,8 @@ static int lut_planar_16bits(AVFilterContext *ctx, void *arg, int jobnr, int nb_ · 455 unmodified lines
456 const int in_linesize = in->linesize[plane] / 2;456 const int in_linesize = in->linesize[plane] / 2;
457 const int out_linesize = out->linesize[plane] / 2;457 const int out_linesize = out->linesize[plane] / 2;
458 458
459 inrow = (uint16_t *)(in ->data[plane] + slice_start * in_linesize);459 inrow = (uint16_t *)in ->data[plane] + slice_start * in_linesize;
460 outrow = (uint16_t *)(out->data[plane] + slice_start * out_linesize);460 outrow = (uint16_t *)out->data[plane] + slice_start * out_linesize;
461 461
462 for (i = slice_start; i < slice_end; i++) {462 for (i = slice_start; i < slice_end; i++) {
463 for (j = 0; j < w; j++) {463 for (j = 0; j < w; j++) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t