diff options
Diffstat (limited to 'media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch')
-rw-r--r-- | media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch b/media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch deleted file mode 100644 index a005a3f7f57c..000000000000 --- a/media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch +++ /dev/null @@ -1,68 +0,0 @@ -diff -ur -x '*~' transcode-1.0.0rc1/import/af6_decore.cpp transcode-1.0.0rc1-gcc4/import/af6_decore.cpp ---- transcode-1.0.0rc1/import/af6_decore.cpp 2004-10-18 04:04:15.000000000 +0200 -+++ transcode-1.0.0rc1-gcc4/import/af6_decore.cpp 2005-07-09 02:04:20.138301240 +0200 -@@ -1,7 +1,7 @@ - /* - * af6_decore.cpp - * -- * Copyright (C) Thomas Östreich - January 2002 -+ * Copyright (C) Thomas �treich - January 2002 - * Updated by Christian Vogelgsang <Vogelgsang@informatik.uni-erlangen.de> - * - * This file is part of transcode, a linux video stream processing tool -@@ -213,7 +213,7 @@ - - /* send sync token */ - fflush(stdout); -- p_write(decode->fd_out, sync_str, sizeof(sync_str)); -+ p_write(decode->fd_out, (uint8_t*)sync_str, sizeof(sync_str)); - - /* frame serve loop */ - /* by default decode->frame_limit[0]=0 and ipipe->frame_limit[1]=LONG_MAX so all frames are decoded */ -@@ -268,13 +268,13 @@ - } - } - /* write unpacked frame */ -- if(p_write(decode->fd_out, pack_buffer, pack_size)!= pack_size) { -+ if(p_write(decode->fd_out, (uint8_t*)pack_buffer, pack_size)!= pack_size) { - fprintf(stderr,"(%s) ERROR: Pipe write error!\n",__FILE__); - break; - } - } else { - /* directly write raw frame */ -- if(p_write(decode->fd_out, buf, buffer_size)!= buffer_size) { -+ if(p_write(decode->fd_out, (uint8_t*)buf, buffer_size)!= buffer_size) { - fprintf(stderr,"(%s) ERROR: Pipe write error!\n",__FILE__); - break; - } -@@ -368,7 +368,7 @@ - - /* send sync token */ - fflush(stdout); -- p_write(decode->fd_out, sync_str, sizeof(sync_str)); -+ p_write(decode->fd_out, (uint8_t*)sync_str, sizeof(sync_str)); - - /* sample server loop */ - while(!ars->Eof()) { -@@ -393,18 +393,18 @@ - { - if ( s_byte_read - ret_size <(unsigned int)decode->frame_limit[0]) - { -- if((unsigned int)p_write(decode->fd_out,buffer+(ret_size-(s_byte_read-decode->frame_limit[0])),(s_byte_read-decode->frame_limit[0]))!=(unsigned int)(s_byte_read-decode->frame_limit[0])) -+ if((unsigned int)p_write(decode->fd_out,(uint8_t*)(buffer+(ret_size-(s_byte_read-decode->frame_limit[0]))),(s_byte_read-decode->frame_limit[0]))!=(unsigned int)(s_byte_read-decode->frame_limit[0])) - break; - } - else - { -- if((unsigned int)p_write(decode->fd_out,buffer,ret_size)!=ret_size) -+ if((unsigned int)p_write(decode->fd_out,(uint8_t*)buffer,ret_size)!=ret_size) - break; - } - } - else if ((s_byte_read> decode->frame_limit[0]) && (s_byte_read - ret_size <=(unsigned int)decode->frame_limit[1])) - { -- if((unsigned int)p_write(decode->fd_out,buffer,(s_byte_read-decode->frame_limit[1]))!=(unsigned int)(s_byte_read-decode->frame_limit[1])) -+ if((unsigned int)p_write(decode->fd_out,(uint8_t*)buffer,(s_byte_read-decode->frame_limit[1]))!=(unsigned int)(s_byte_read-decode->frame_limit[1])) - break; - } - else if (s_byte_read - ret_size >(unsigned int)decode->frame_limit[1]) |