rolandoislas / drc-sim-c

Wii U Gamepad Simulator Backend
Other
12 stars 13 forks source link

Fixed deprecated libav functions, crash, and compile time errors. #5

Open Cyclone6664 opened 5 months ago

Cyclone6664 commented 5 months ago

Removed deprecated avcodec_register_all() and replaced deprecated avcodec_decode_video2() with avcodec_send_packet() and avcodec_receive_frame() for compatibility with newer versions of libav.

Also fixed compile time errors in Constants.h and VideoPacketWiiU.h (missing include). Also fixed crash in OSUtil.cpp in function OSUtil::exists() (missing return statement).