History

avfilter/vf_cas: Remove superfluous ;

The second ; in a double ;; is actually a null statement. It triggers the typical declaration-after-statement compiler-warnings if it occurs in the middle of several declarations (like here).

Andreas Rheinhardt committed 6 years ago

Commit be82dc11 parent 21265f41 file · +2 −2Browse files

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

Unified · Split

libavfilter/vf_cas.c+2−2
@@ -58,7 +58,7 @@ static int cas_slice8(AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs) · 57 unmodified lines
58 const int linesize = out->linesize[p];58 const int linesize = out->linesize[p];
59 const int in_linesize = in->linesize[p];59 const int in_linesize = in->linesize[p];
60 const int w = s->planewidth[p];60 const int w = s->planewidth[p];
61 const int w1 = w - 1;;61 const int w1 = w - 1;
62 const int h = s->planeheight[p];62 const int h = s->planeheight[p];
63 const int h1 = h - 1;63 const int h1 = h - 1;
64 uint8_t *dst = out->data[p] + slice_start * linesize;64 uint8_t *dst = out->data[p] + slice_start * linesize;
@@ -125,7 +125,7 @@ static int cas_slice16(AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs · 60 unmodified lines
125 const int linesize = out->linesize[p] / 2;125 const int linesize = out->linesize[p] / 2;
126 const int in_linesize = in->linesize[p] / 2;126 const int in_linesize = in->linesize[p] / 2;
127 const int w = s->planewidth[p];127 const int w = s->planewidth[p];
128 const int w1 = w - 1;;128 const int w1 = w - 1;
129 const int h = s->planeheight[p];129 const int h = s->planeheight[p];
130 const int h1 = h - 1;130 const int h1 = h - 1;
131 uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize;131 uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize;

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