[FFmpeg-cvslog] avfilter/vf_cas: Remove superfluous ;
Andreas Rheinhardt
git at videolan.org
Sat Feb 29 23:31:57 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Feb 28 22:06:30 2020 +0100| [be82dc175bb8386c3fafc1ea9814bacdb8126eb0] | committer: Michael Niedermayer
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 at gmail.com>
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be82dc175bb8386c3fafc1ea9814bacdb8126eb0
---
libavfilter/vf_cas.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_cas.c b/libavfilter/vf_cas.c
index a07d51a84e..7c32ed5f9b 100644
--- a/libavfilter/vf_cas.c
+++ b/libavfilter/vf_cas.c
@@ -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 in_linesize = in->linesize[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 h1 = h - 1;
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 in_linesize = in->linesize[p] / 2;
const int w = s->planewidth[p];
- const int w1 = w - 1;;
+ const int w1 = w - 1;
const int h = s->planeheight[p];
const int h1 = h - 1;
uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize;
More information about the ffmpeg-cvslog
mailing list