Fix some warnings.

This commit is contained in:
Hans-Kristian Arntzen 2016-05-08 09:37:27 +02:00
parent 2f6baffe45
commit 8faa6231db
2 changed files with 2 additions and 2 deletions

View File

@ -1014,7 +1014,7 @@ ifeq ($(HAVE_FFMPEG), 1)
cores/libretro-ffmpeg/ffmpeg_core.o
LIBS += $(AVCODEC_LIBS) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(SWSCALE_LIBS) $(SWRESAMPLE_LIBS) $(FFMPEG_LIBS)
DEFINES += $(AVCODEC_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS) $(SWSCALE_CFLAGS) $(SWRESAMPLE_CFLAGS)
DEFINES += -DHAVE_FFMPEG -Iffmpeg
DEFINES += -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg
endif
ifeq ($(HAVE_COMPRESSION), 1)

View File

@ -429,7 +429,7 @@ static INLINE void rjpeg_decode_block(
struct rjpeg_component *c,
unsigned char* out)
{
unsigned char code;
unsigned char code = 0;
int coef = 0;
memset(ctx->block, 0, sizeof(ctx->block));