mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user