[FFmpeg-cvslog] avcodec/cdtoons: Remove superfluous ;
Andreas Rheinhardt
git at videolan.org
Fri Feb 28 20:50:53 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Feb 27 06:33:51 2020 +0100| [b6879b61dfe69e79c0fd32ce076fe1e7cbcc9c0c] | committer: Michael Niedermayer
avcodec/cdtoons: 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>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6879b61dfe69e79c0fd32ce076fe1e7cbcc9c0c
---
libavcodec/cdtoons.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cdtoons.c b/libavcodec/cdtoons.c
index d5dce6351f..13f9a60f0f 100644
--- a/libavcodec/cdtoons.c
+++ b/libavcodec/cdtoons.c
@@ -61,7 +61,7 @@ static int cdtoons_render_sprite(AVCodecContext *avctx, const uint8_t *data,
{
CDToonsContext *c = avctx->priv_data;
const uint8_t *next_line = data;
- const uint8_t *end = data + data_size;;
+ const uint8_t *end = data + data_size;
uint16_t line_size;
uint8_t *dest;
int skip = 0, to_skip, x;
More information about the ffmpeg-cvslog
mailing list