scale dvb subtitles

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@216 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-01-27 20:41:42 +00:00
parent 6e27f0c02b
commit f46f291ce9
2 changed files with 56 additions and 13 deletions

View File

@@ -5,14 +5,12 @@
unsigned char * simple_resize(unsigned char * orgin,int ox,int oy,int dx,int dy)
{
// dbout("simple_resize{\n");
unsigned char *cr,*p,*l;
int i,j,k,ip;
cr=(unsigned char*) malloc(dx*dy*3);
if(cr==NULL)
{
printf("Error: malloc\n");
// dbout("simple_resize}\n");
return(orgin);
}
l=cr;
@@ -27,7 +25,6 @@ unsigned char * simple_resize(unsigned char * orgin,int ox,int oy,int dx,int dy)
}
}
free(orgin);
// dbout("simple_resize}\n");
return(cr);
}