Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
droidcam
0003-Hack-backwards-compatibility-for-TurboJPEG...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Hack-backwards-compatibility-for-TurboJPEG-2.0.0.patch of Package droidcam
Index: droidcam-1.9.0/src/decoder.c =================================================================== --- droidcam-1.9.0.orig/src/decoder.c +++ droidcam-1.9.0/src/decoder.c @@ -31,6 +31,15 @@ extern "C" } #endif +#include "jconfig.h" +#if LIBJPEG_TURBO_VERSION_NUMBER < 2000000 +#warning LIBJPEG_TURBO_VERSION too old for thread safe error handling +#define tjGetErrorCode(handle) 0 +#define tjGetErrorStr2(handle) tjGetErrorStr() + +#define TJXOPT_COPYNONE 0 +#endif + struct spx_decoder_s { snd_pcm_t *snd_handle; void *state;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor