mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
get rid of HAVE_DVB_API_VERSION define
remove non-working legacy code git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1289 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -218,7 +218,7 @@ int fh_jpeg_load_local(const char *filename,unsigned char **buffer,int* x,int* y
|
||||
int fh_jpeg_load(const char *filename,unsigned char **buffer,int* x,int* y)
|
||||
{
|
||||
int ret=FH_ERROR_FILE;
|
||||
#if HAVE_DVB_API_VERSION >= 3
|
||||
#if 1
|
||||
if(!g_settings.picviewer_decode_server_ip.empty())
|
||||
ret=fh_jpeg_load_via_server(filename, *buffer, *x, *y);
|
||||
if(ret!=FH_ERROR_OK)
|
||||
@@ -270,7 +270,7 @@ int fh_jpeg_getsize(const char *filename,int *x,int *y, int wanted_width, int wa
|
||||
jpeg_start_decompress(ciptr);
|
||||
px=ciptr->output_width; py=ciptr->output_height;
|
||||
c=ciptr->output_components;
|
||||
#if HAVE_DVB_API_VERSION >= 3
|
||||
#if 1
|
||||
if(!g_settings.picviewer_decode_server_ip.empty())
|
||||
{
|
||||
// jpeg server resizes pic to desired size
|
||||
|
Reference in New Issue
Block a user