[vlc-commits] codec: cea708: clear warnings
Francois Cartegnie
git at videolan.org
Wed Nov 15 19:44:38 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 15 19:23:52 2017 +0100| [5421854ed62cc79a1dea53c32046c31dab7dd390] | committer: Francois Cartegnie
codec: cea708: clear warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5421854ed62cc79a1dea53c32046c31dab7dd390
---
modules/codec/cea708.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/cea708.c b/modules/codec/cea708.c
index 1f963275e7..51951bd0bb 100644
--- a/modules/codec/cea708.c
+++ b/modules/codec/cea708.c
@@ -795,7 +795,7 @@ static void CEA708_Window_Forward( cea708_window_t *p_w )
static void CEA708_Window_Backward( cea708_window_t *p_w )
{
- static const int const reverse[] =
+ static const int reverse[] =
{
[CEA708_WA_DIRECTION_LTR] = CEA708_WA_DIRECTION_RTL,
[CEA708_WA_DIRECTION_RTL] = CEA708_WA_DIRECTION_LTR,
@@ -1121,7 +1121,7 @@ cea708_t * CEA708_Decoder_New( decoder_t *p_dec )
}
#define POP_COMMAND() (void) cea708_input_buffer_get( ib )
-#define POP_ARGS(n) for(size_t i=0; i<n;i++) POP_COMMAND()
+#define POP_ARGS(n) for(size_t pops=0; pops<(size_t)n;pops++) POP_COMMAND()
#define REQUIRE_ARGS(n) if(cea708_input_buffer_size( ib ) < n + 1)\
return CEA708_STATUS_STARVING
#define REQUIRE_ARGS_AND_POP_COMMAND(n) REQUIRE_ARGS(n); else POP_COMMAND()
More information about the vlc-commits
mailing list