mirror of
https://github.com/libretro/RetroArch
synced 2025-03-26 20:37:10 +00:00
Fix some warnings.
This commit is contained in:
parent
2f6baffe45
commit
8faa6231db
@ -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)
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user