FreeBSD Bugzilla – Attachment 56248 Details for
Bug 84916
[PATCH] multimedia/transcode: Update to 1.0.0 final
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
transcode-1.0.0.patch
transcode-1.0.0.patch (text/plain), 4.04 KB, created by
Ulrich Spoerlein
on 2005-08-14 18:30:19 UTC
(
hide
)
Description:
transcode-1.0.0.patch
Filename:
MIME Type:
Creator:
Ulrich Spoerlein
Created:
2005-08-14 18:30:19 UTC
Size:
4.04 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/multimedia/transcode/Makefile,v >retrieving revision 1.63 >diff -u -u -r1.63 Makefile >--- Makefile 17 Jul 2005 17:42:28 -0000 1.63 >+++ Makefile 14 Aug 2005 17:28:47 -0000 >@@ -6,8 +6,7 @@ > # > > PORTNAME= transcode >-DISTVERSION= 1.0.0rc1 >-PORTREVISION= 1 >+DISTVERSION= 1.0.0 > CATEGORIES= multimedia > MASTER_SITES= http://dl.fkb.wormulon.net/transcode/ \ > http://dl.kel.wormulon.net/transcode/ \ >@@ -415,7 +414,7 @@ > ${WRKSRC}/import/decode_mov.c \ > ${WRKSRC}/import/import_mov.c \ > ${WRKSRC}/import/probe_mov.c >- >+ > post-install: > .if defined(WITH_XVID) > @${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \ >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/multimedia/transcode/distinfo,v >retrieving revision 1.14 >diff -u -u -r1.14 distinfo >--- distinfo 5 Jul 2005 17:04:13 -0000 1.14 >+++ distinfo 14 Aug 2005 17:28:47 -0000 >@@ -1,2 +1,2 @@ >-MD5 (transcode-1.0.0rc1.tar.gz) = bda8422a8b2fb83e5c750743b688b7a3 >-SIZE (transcode-1.0.0rc1.tar.gz) = 2349974 >+MD5 (transcode-1.0.0.tar.gz) = 28990470fb92a28e351cb96bcad0c890 >+SIZE (transcode-1.0.0.tar.gz) = 2347710 >Index: files/patch-import:af6_decore.cpp >=================================================================== >RCS file: files/patch-import:af6_decore.cpp >diff -N files/patch-import:af6_decore.cpp >--- files/patch-import:af6_decore.cpp 5 Jul 2005 17:04:13 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,58 +0,0 @@ >---- import/af6_decore.cpp.orig Sun Jul 3 17:03:28 2005 >-+++ import/af6_decore.cpp Sun Jul 3 17:03:48 2005 >-@@ -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])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 84916
: 56248