Bug#865102: jessie-pu: package libdvdnav/5.0.1-1+deb8u1
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu
Attached is a .debdiff that fixes various crashes when playing DVDs in VLC.
The DVD mostly starts playing for some time, but crashes some 5-10 minutes
after the DVD has been started playing. With the attached change, no crashes
are observed anymore.
The issue is resolved in stretch, but still open in jessie. Please consider
accepting this change via jessie-pu. Thanks.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libdvdnav-5.0.1/debian/changelog libdvdnav-5.0.1/debian/changelog
--- libdvdnav-5.0.1/debian/changelog 2014-08-30 22:38:40.000000000 +0200
+++ libdvdnav-5.0.1/debian/changelog 2017-06-19 10:26:30.000000000 +0200
@@ -1,3 +1,11 @@
+libdvdnav (5.0.1-1+deb8u1) jessie-proposed-updates; urgency=medium
+
+ * debian/control: Uploader e-mail address updated
+ * debian/patches/: new patchset started
+ - 0001-dvdnav_get_position.patch added (Closes: #763279)
+
+ -- Matteo F. Vescovi <mfv@debian.org> Mon, 19 Jun 2017 10:26:30 +0200
+
libdvdnav (5.0.1-1) unstable; urgency=medium
[ Benjamin Drung ]
diff -Nru libdvdnav-5.0.1/debian/control libdvdnav-5.0.1/debian/control
--- libdvdnav-5.0.1/debian/control 2014-08-30 21:54:49.000000000 +0200
+++ libdvdnav-5.0.1/debian/control 2017-06-19 10:26:03.000000000 +0200
@@ -4,7 +4,7 @@
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Uploaders: Reinhard Tartler <siretart@tauware.de>,
Benjamin Drung <bdrung@debian.org>,
- Matteo F. Vescovi <mfvescovi@gmail.com>,
+ Matteo F. Vescovi <mfv@debian.org>,
Balint Reczey <balint@balintreczey.hu>
Build-Depends: debhelper (>= 9), dh-autoreconf, doxygen, libdvdread-dev
Standards-Version: 3.9.5
diff -Nru libdvdnav-5.0.1/debian/patches/0001-dvdnav_get_position.patch libdvdnav-5.0.1/debian/patches/0001-dvdnav_get_position.patch
--- libdvdnav-5.0.1/debian/patches/0001-dvdnav_get_position.patch 1970-01-01 01:00:00.000000000 +0100
+++ libdvdnav-5.0.1/debian/patches/0001-dvdnav_get_position.patch 2014-12-31 09:24:43.000000000 +0100
@@ -0,0 +1,26 @@
+From: Jean-Baptiste Kempf <jb@videolan.org>
+Date: Sun, 31 Aug 2014 00:51:40 +0200
+Subject: dvdnav_get_position
+
+Return an error in dvdnav_get_position instead of asserting.
+
+Closes: #763279
+LP: #1236939
+---
+ src/searching.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/searching.c b/src/searching.c
+index f6e497e..74a16ee 100644
+--- a/src/searching.c
++++ b/src/searching.c
+@@ -563,7 +563,8 @@ dvdnav_status_t dvdnav_get_position(dvdnav_t *this, uint32_t *pos,
+ *len += cell->last_sector - cell->first_sector + 1;
+ }
+
+- assert((signed)*pos != -1);
++ if((signed)*pos == -1)
++ return DVDNAV_STATUS_ERR;
+
+ pthread_mutex_unlock(&this->vm_lock);
+
diff -Nru libdvdnav-5.0.1/debian/patches/series libdvdnav-5.0.1/debian/patches/series
--- libdvdnav-5.0.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ libdvdnav-5.0.1/debian/patches/series 2014-12-31 09:24:43.000000000 +0100
@@ -0,0 +1 @@
+0001-dvdnav_get_position.patch
Reply to: