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:
seife
2011-03-12 12:36:13 +00:00
parent 4b74f1f5b8
commit 6efb0d5e47
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