rpms/oggvideotools/EL-4 oggSlideshow-0.7a-noargs.patch, NONE, 1.1 oggStream-0.7a-bigPackets.patch, NONE, 1.1 import.log, 1.2, 1.3 oggvideotools.spec, 1.3, 1.4 oggSlideshow-noargs.patch, 1.1, NONE
Adam Miller
maxamillion at fedoraproject.org
Mon May 18 20:51:51 UTC 2009
- Previous message (by thread): rpms/fedora-logos/devel .cvsignore, 1.85, 1.86 fedora-logos.spec, 1.128, 1.129 sources, 1.99, 1.100
- Next message (by thread): rpms/pykickstart/F-11 .cvsignore, 1.107, 1.108 pykickstart.spec, 1.117, 1.118 sources, 1.116, 1.117
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: maxamillion
Update of /cvs/extras/rpms/oggvideotools/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23803/EL-4
Modified Files:
import.log oggvideotools.spec
Added Files:
oggSlideshow-0.7a-noargs.patch oggStream-0.7a-bigPackets.patch
Removed Files:
oggSlideshow-noargs.patch
Log Message:
Patch from upstream applied for segfault in oggStream due to big packets
oggSlideshow-0.7a-noargs.patch:
--- NEW FILE oggSlideshow-0.7a-noargs.patch ---
--- src/oggSlideshow.cpp 2009-03-22 08:38:36.000000000 -0500
+++ src/oggSlideshow_patched.cpp 2009-05-15 06:41:05.000000000 -0500
@@ -478,7 +478,7 @@
argv += optind;
if ((argc < 1)) {
- std::cerr << "usage: "<<argv[0]<<" <pic.bmp> ... \n";
+ printHelpScreen(programName);
return (-1);
}
oggStream-0.7a-bigPackets.patch:
--- NEW FILE oggStream-0.7a-bigPackets.patch ---
Index: src/oggStreamEncoder.cpp
===================================================================
--- src/oggStreamEncoder.cpp (revision 22)
+++ src/oggStreamEncoder.cpp (revision 25)
@@ -100,8 +100,11 @@
dataLength += packet.length();
uint32 actSegmentsSize = (packet.length()+255)/255;
- uint8 actSegments[255];
+ uint8 actSegments[maxSegmentEntries];
+ if (actSegmentsSize > maxSegmentEntries)
+ throw "OggStreamEncoder::addPacket: Not able to handle this packet size";
+
/* calculate the segment table part of this packet */
memset(actSegments, 0xff, actSegmentsSize-1);
actSegments[actSegmentsSize-1] = packet.length()%255;
Index: src/oggStreamEncoder.h
===================================================================
--- src/oggStreamEncoder.h (revision 22)
+++ src/oggStreamEncoder.h (revision 25)
@@ -1,7 +1,7 @@
/*
* oggStreamEncoder is a class to insert an ogg packet into an ogg page stream
*
- * Copyright (C) 2008 Joern Seger
+ * Copyright (C) 2008-2009 Joern Seger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,6 +34,8 @@
class OggStreamEncoder : public MediaEncoder
{
protected:
+ static const uint32 maxSegmentEntries = 1024;
+
static std::vector<uint32> usedSerialNo;
uint32 maxPageSize;
Index: import.log
===================================================================
RCS file: /cvs/extras/rpms/oggvideotools/EL-4/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- import.log 15 May 2009 17:28:15 -0000 1.2
+++ import.log 18 May 2009 20:51:21 -0000 1.3
@@ -1,2 +1,3 @@
oggvideotools-0_4-1_fc9:HEAD:oggvideotools-0.4-1.fc9.src.rpm:1217306529
oggvideotools-0_7a-3_fc10:EL-4:oggvideotools-0.7a-3.fc10.src.rpm:1242408468
+oggvideotools-0_7a-4_fc10:EL-4:oggvideotools-0.7a-4.fc10.src.rpm:1242675345
Index: oggvideotools.spec
===================================================================
RCS file: /cvs/extras/rpms/oggvideotools/EL-4/oggvideotools.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- oggvideotools.spec 15 May 2009 17:28:15 -0000 1.3
+++ oggvideotools.spec 18 May 2009 20:51:21 -0000 1.4
@@ -1,6 +1,6 @@
Name: oggvideotools
Version: 0.7a
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Toolbox for manipulating Ogg video files
Group: Applications/Multimedia
@@ -12,7 +12,8 @@ BuildRequires: pkgconfig
BuildRequires: libogg-devel libvorbis-devel libtheora-devel SDL-devel
BuildRequires: gd-devel
-Patch0: oggSlideshow-noargs.patch
+Patch0: oggSlideshow-0.7a-noargs.patch
+Patch1: oggStream-0.7a-bigPackets.patch
%description
A toolbox for manipulating Ogg video files, which usually consist of a
@@ -23,6 +24,7 @@ such as for splitting the different stre
%prep
%setup -q
%patch0
+%patch1
%build
%configure
@@ -45,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/*
%changelog
+* Mon May 18 2009 Adam Miller <maxamillion [AT] gmail.com> - 0.7a-4
+- Patch from upstream applied for segfault in oggStream due to big packets
+
* Fri May 15 2009 Adam Miller <maxamillion [AT] gmail.com> - 0.7a-3
- Patched a bug in oggSlideshow no showing help menu if no args passed
--- oggSlideshow-noargs.patch DELETED ---
- Previous message (by thread): rpms/fedora-logos/devel .cvsignore, 1.85, 1.86 fedora-logos.spec, 1.128, 1.129 sources, 1.99, 1.100
- Next message (by thread): rpms/pykickstart/F-11 .cvsignore, 1.107, 1.108 pykickstart.spec, 1.117, 1.118 sources, 1.116, 1.117
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list