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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6efb0d5e47
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-03-12 (Sat, 12 Mar 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-03-12 12:36:13 +00:00
parent 4ee03f05e4
commit 2c7ea22a9f
14 changed files with 11 additions and 42 deletions

View File

@@ -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