Compare commits

..

2 Commits
master ... f25

Author SHA1 Message Date
Wim Taymans 66cddb8d17 vmncdec: Sanity-check width/height before using it
- h264parse: Ensure codec_data has the required size when reading number of SPS
  (#1401945)
2016-12-07 11:25:57 +01:00
Wim Taymans a450eb2bb7 Remove insecure nsf plugin (#1395126) 2016-11-30 13:36:59 +01:00
2 changed files with 25 additions and 61 deletions

View File

@ -1,12 +0,0 @@
diff -uNr gst-plugins-bad-0.10.23/ext/timidity/gsttimidity.c gst-plugins-bad-0.10.23.timidity/ext/timidity/gsttimidity.c
--- gst-plugins-bad-0.10.23/ext/timidity/gsttimidity.c 2011-12-30 19:24:28.000000000 +0100
+++ gst-plugins-bad-0.10.23.timidity/ext/timidity/gsttimidity.c 2016-10-06 10:37:54.076801395 +0200
@@ -615,7 +615,7 @@
GST_DEBUG_OBJECT (timidity, "Parsing song");
stream =
- mid_istream_open_mem (timidity->mididata, timidity->mididata_size, 0);
+ mid_istream_open_mem (timidity->mididata, timidity->mididata_size);
timidity->song = mid_song_load (stream, timidity->song_options);
mid_istream_close (stream);

View File

@ -14,13 +14,13 @@
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad-free
Version: 0.10.23
Release: 45%{?dist}
Release: 35%{?dist}
# The freeze and nfs plugins are LGPLv2 (only)
License: LGPLv2+ and LGPLv2
Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/
# The source is:
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%%{version}.tar.xz
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
# modified with gst-p-bad-cleanup.sh from SOURCE1
Source: gst-plugins-bad-free-%{version}.tar.xz
Source1: gst-p-bad-cleanup.sh
@ -40,10 +40,8 @@ Patch8: 0001-modplug-Specify-directory-when-including-stdafx.h.patch
Patch9: gst-plugins-bad-0.10.23-drop-vpx-compat-defines.patch
# Fix building docs
Patch10: gst-plugins-bad-0.10.23-docbuild.patch
# Fix for libtimidity-0.2.x
Patch11: gst-plugins-bad-0.10.23-timidity2.diff
Patch12: 0001-vmncdec-Sanity-check-width-height-before-using-it.patch
Patch13: 0002-h264parse-Ensure-codec_data-has-the-required-size-wh.patch
Patch11: 0001-vmncdec-Sanity-check-width-height-before-using-it.patch
Patch12: 0002-h264parse-Ensure-codec_data-has-the-required-size-wh.patch
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@ -166,7 +164,20 @@ aren't tested well enough, or the code is not of good enough quality.
%prep
%autosetup -n gst-plugins-bad-%{version} -p1
%setup -q -n gst-plugins-bad-%{version}
%patch0 -p1 -b .vp8enc_bitrate
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1 -b .docbuild
%patch11 -p1
%patch12 -p1
sed -i 's/opencv <= 2.3.1/opencv <= 2.4.3/g' configure
@ -175,12 +186,10 @@ sed -i 's/opencv <= 2.3.1/opencv <= 2.4.3/g' configure
--with-package-name="Fedora gstreamer-plugins-bad package" \
--with-package-origin="http://download.fedora.redhat.com/fedora" \
%{!?with_extras:--disable-fbdev --disable-decklink --disable-linsys} \
--enable-debug --disable-static --disable-gtk-doc --enable-experimental \
--enable-debug --disable-static --enable-gtk-doc --enable-experimental \
--disable-divx --disable-dts --disable-faac --disable-faad --disable-nas \
--disable-mimic --disable-libmms --disable-mpeg2enc --disable-mplex \
--disable-neon --disable-openal --disable-rtmp --disable-xvid \
--disable-gme --disable-voamrwbenc --disable-nsf --disable-apexsink \
--disable-voaacenc
--disable-neon --disable-openal --disable-rtmp --disable-xvid --disable-nsf
make %{?_smp_mflags}
@ -203,7 +212,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%files -f gst-plugins-bad-%{majorminor}.lang
%doc AUTHORS COPYING README REQUIREMENTS
#%%{_datadir}/gstreamer-%%{majorminor}
#%{_datadir}/gstreamer-%{majorminor}
%{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.*
%{_libdir}/libgstbasevideo-%{majorminor}.so.*
%{_libdir}/libgstcodecparsers-%{majorminor}.so.*
@ -288,7 +297,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/gstreamer-%{majorminor}/libgstvcdsrc.so
# Plugins with external dependencies
#%%{_libdir}/gstreamer-%%{majorminor}/libgstapexsink.so
%{_libdir}/gstreamer-%{majorminor}/libgstapexsink.so
%{_libdir}/gstreamer-%{majorminor}/libgstbz2.so
%{_libdir}/gstreamer-%{majorminor}/libgstgsm.so
%{_libdir}/gstreamer-%{majorminor}/libgstjp2k.so
@ -358,51 +367,18 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
%files devel-docs
%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{majorminor}
%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-libs-%{majorminor}
%changelog
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.23-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 2 2018 Tom Callaway <spot@fedoraproject.org> - 0.10.23-44
- again.
* Fri Jan 26 2018 Tom Callaway <spot@fedoraproject.org> - 0.10.23-43
- rebuild for new libvpx
* Fri Oct 13 2017 Hans de Goede <hdegoede@redhat.com> - 0.10.23-42
- Rebuild for new soundtouch
- Regenerating the (old) gtk-doc docs is broken, use only the pre-generated
ones from the source-tarbal (People should not be developing new software
against gst-0.10 anyways)
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.23-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.23-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.23-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Dec 07 2016 Wim Taymans <wtaymans@redhat.com> - 0.10.23-38
* Wed Dec 07 2016 Wim Taymans <wtaymans@redhat.com> - 0.10.23-35
- vmncdec: Sanity-check width/height before using it
- h264parse: Ensure codec_data has the required size when reading number of SPS
(#1401945)
* Sat Dec 03 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.10.23-37
- rebuild (jasper)
* Wed Nov 30 2016 Wim Taymans <wtaymans@redhat.com> - 0.10.23-36
* Wed Nov 30 2016 Wim Taymans <wtaymans@redhat.com> - 0.10.23-34
- Remove insecure nsf plugin (#1395126)
- Disable broken apexsink
* Thu Oct 06 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.23-35
- rebuild for libtimidity 0.2.x
* Fri Aug 26 2016 Hans de Goede <hdegoede@redhat.com> - 0.10.23-34
- Rebuild for new wildmidi
* Tue Aug 09 2016 Nils Philippsen <nils@redhat.com> - 0.10.23-33
- fix bogus dates in changelog