mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
21265f42ec
commit
be82dc175b
@ -58,7 +58,7 @@ static int cas_slice8(AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs)
|
|||||||
const int linesize = out->linesize[p];
|
const int linesize = out->linesize[p];
|
||||||
const int in_linesize = in->linesize[p];
|
const int in_linesize = in->linesize[p];
|
||||||
const int w = s->planewidth[p];
|
const int w = s->planewidth[p];
|
||||||
const int w1 = w - 1;;
|
const int w1 = w - 1;
|
||||||
const int h = s->planeheight[p];
|
const int h = s->planeheight[p];
|
||||||
const int h1 = h - 1;
|
const int h1 = h - 1;
|
||||||
uint8_t *dst = out->data[p] + slice_start * linesize;
|
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
|
|||||||
const int linesize = out->linesize[p] / 2;
|
const int linesize = out->linesize[p] / 2;
|
||||||
const int in_linesize = in->linesize[p] / 2;
|
const int in_linesize = in->linesize[p] / 2;
|
||||||
const int w = s->planewidth[p];
|
const int w = s->planewidth[p];
|
||||||
const int w1 = w - 1;;
|
const int w1 = w - 1;
|
||||||
const int h = s->planeheight[p];
|
const int h = s->planeheight[p];
|
||||||
const int h1 = h - 1;
|
const int h1 = h - 1;
|
||||||
uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize;
|
uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize;
|
||||||
|
Loading…
Reference in New Issue
Block a user