mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Fix some warnings.
This commit is contained in:
parent
2f6baffe45
commit
8faa6231db
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue