rpms/vorbis-tools/devel vorbis-tools-svn20070412-oggdec.patch, NONE, 1.1 vorbis-tools.spec, 1.29, 1.30
Todd M. Zullinger (tmz)
fedora-extras-commits at redhat.com
Fri Oct 5 04:36:54 UTC 2007
- Previous message (by thread): rpms/claws-mail/devel .cvsignore, 1.12, 1.13 claws-mail.spec, 1.19, 1.20 sources, 1.12, 1.13
- Next message (by thread): rpms/vorbis-tools/F-7 vorbis-tools-svn20070412-oggdec.patch, NONE, 1.1 vorbis-tools.spec, 1.28, 1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tmz
Update of /cvs/extras/rpms/vorbis-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25508
Modified Files:
vorbis-tools.spec
Added Files:
vorbis-tools-svn20070412-oggdec.patch
Log Message:
* Thu Oct 04 2007 Todd Zullinger <tmz at pobox.com> - 1:1.1.1.svn20070412-4
- Upstream patch to fix oggdec writing silent wav files (#244757)
vorbis-tools-svn20070412-oggdec.patch:
--- NEW FILE vorbis-tools-svn20070412-oggdec.patch ---
See https://trac.xiph.org/ticket/1209 for the bug report. This patch comes
from: https://trac.xiph.org/changeset/13263?format=diff&new=13263
Index: /trunk/vorbis-tools/oggdec/oggdec.c
===================================================================
--- vorbis-tools/oggdec/oggdec.c (revision 12221)
+++ vorbis-tools/oggdec/oggdec.c (revision 13263)
@@ -256,4 +256,5 @@
int bs = 0;
char buf[8192], outbuf[8192];
+ char *p_outbuf;
int buflen = 8192;
unsigned int written = 0;
@@ -325,7 +326,11 @@
/* Then permute! */
permute_channels(buf, outbuf, ret, channels, bits/8);
- }
-
- if(fwrite(outbuf, 1, ret, out) != ret) {
+ p_outbuf = outbuf;
+ }
+ else {
+ p_outbuf = buf;
+ }
+
+ if(fwrite(p_outbuf, 1, ret, out) != ret) {
fprintf(stderr, "Error writing to file: %s\n", strerror(errno));
ov_clear(&vf);
Index: vorbis-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/vorbis-tools/devel/vorbis-tools.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- vorbis-tools.spec 23 Aug 2007 17:37:43 -0000 1.29
+++ vorbis-tools.spec 5 Oct 2007 04:36:21 -0000 1.30
@@ -1,7 +1,7 @@
Summary: The Vorbis General Audio Compression Codec tools.
Name: vorbis-tools
Version: 1.1.1.svn20070412
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
Group: Applications/Multimedia
License: GPL
@@ -10,6 +10,7 @@
Patch0: vorbis-tools-1.0-build.patch
Patch1: vorbis-tools-1.0-curlconfig.patch
Patch2: vorbis-tools-svn20070412-libcurl.patch
+Patch3: vorbis-tools-svn20070412-oggdec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: libogg >= 2:1.1
Requires: libvorbis >= 1:%{version}
@@ -41,6 +42,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
autoconf
@@ -68,6 +70,9 @@
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Oct 04 2007 Todd Zullinger <tmz at pobox.com> - 1:1.1.1.svn20070412-4
+- Upstream patch to fix oggdec writing silent wav files (#244757)
+
* Thu Aug 23 2007 Adam Jackson <ajax at redhat.com> - 1:1.1.1.svn20070412-3
- Rebuild for build ID
- Previous message (by thread): rpms/claws-mail/devel .cvsignore, 1.12, 1.13 claws-mail.spec, 1.19, 1.20 sources, 1.12, 1.13
- Next message (by thread): rpms/vorbis-tools/F-7 vorbis-tools-svn20070412-oggdec.patch, NONE, 1.1 vorbis-tools.spec, 1.28, 1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list