summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-09 00:38:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-09 00:38:37 +0000
commit0a2275b3fc2e8c0a850ecbda8b229463d6cc718c (patch)
treec61804e983f183ddb620312d3b4a4058ede43af5 /media-video/transcode/files
parentMasked non-multilib-strict compliant canna (diff)
downloadhistorical-0a2275b3fc2e8c0a850ecbda8b229463d6cc718c.tar.gz
historical-0a2275b3fc2e8c0a850ecbda8b229463d6cc718c.tar.bz2
historical-0a2275b3fc2e8c0a850ecbda8b229463d6cc718c.zip
Added latest version upstream (works with GCC4). Removed 1.0.0_beta3. Fixed docs installation path.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-video/transcode/files')
-rw-r--r--media-video/transcode/files/digest-transcode-1.0.0_beta31
-rw-r--r--media-video/transcode/files/digest-transcode-1.0.0_rc11
-rw-r--r--media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch68
3 files changed, 69 insertions, 1 deletions
diff --git a/media-video/transcode/files/digest-transcode-1.0.0_beta3 b/media-video/transcode/files/digest-transcode-1.0.0_beta3
deleted file mode 100644
index 44349da779dc..000000000000
--- a/media-video/transcode/files/digest-transcode-1.0.0_beta3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 963645ae3c08363d8035e874dffc89e7 transcode-1.0.0beta3.tar.gz 2346963
diff --git a/media-video/transcode/files/digest-transcode-1.0.0_rc1 b/media-video/transcode/files/digest-transcode-1.0.0_rc1
new file mode 100644
index 000000000000..cd0be2143cf8
--- /dev/null
+++ b/media-video/transcode/files/digest-transcode-1.0.0_rc1
@@ -0,0 +1 @@
+MD5 bda8422a8b2fb83e5c750743b688b7a3 transcode-1.0.0rc1.tar.gz 2349974
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
new file mode 100644
index 000000000000..a005a3f7f57c
--- /dev/null
+++ b/media-video/transcode/files/transcode-1.0.0_rc1-gcc4.patch
@@ -0,0 +1,68 @@
+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])