Package: mplayer
Version: 2:1.3.0-4
Followup-For: Bug #834135

Dear Maintainer,

the crash is still there in 2:1.3.0-4.

I am attaching a new patch, the previous one contained also the
changelog, which will be generated automatically by gpb-dch anyways.

The patch can be applied with git-am to the current master branch of the
source package repository.

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4                      0.7.4-18
ii  libaa1                            1.4p5-44
ii  libasound2                        1.1.2-1
ii  libass5                           0.13.4-1
ii  libaudio2                         1.9.4-5
ii  libavcodec57                      7:3.1.5-1
ii  libavformat57                     7:3.1.5-1
ii  libavutil55                       7:3.1.5-1
ii  libbluray1                        1:0.9.3-2
ii  libbs2b0                          3.1.0+dfsg-2.2
ii  libc6                             2.24-5
ii  libcaca0                          0.99.beta19-2+b1
ii  libcdio-cdda1                     0.83-4.2+b1
ii  libcdio-paranoia1                 0.83-4.2+b1
ii  libcdio13                         0.83-4.2+b1
ii  libdca0                           0.0.5-10
ii  libdirectfb-1.2-9                 1.2.10.0-5.2+b1
ii  libdv4                            1.0.0-11
ii  libdvdnav4                        5.0.3-2
ii  libdvdread4                       5.0.3-2
ii  libenca0                          1.19-1
ii  libfaad2                          2.8.0~cvs20150510-1
ii  libfontconfig1                    2.11.0-6.7
ii  libfreetype6                      2.6.3-3+b1
ii  libfribidi0                       0.19.7-1
ii  libgif7                           5.1.4-0.4
ii  libgl1-mesa-glx [libgl1]          12.0.3-3
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20150825git1ed50c92~dfsg-3
ii  libjpeg62-turbo                   1:1.5.1-2
ii  liblircclient0                    0.9.0~pre1-1.2
ii  libmad0                           0.15.1b-8
ii  libmpeg2-4                        0.5.1-7
ii  libmpg123-0                       1.23.8-1
ii  libogg0                           1.3.2-1
ii  libopenal1                        1:1.17.2-4
ii  libpng16-16                       1.6.26-1
ii  libpostproc54                     7:3.1.5-1
ii  libpulse0                         9.0-4
ii  libsdl1.2debian                   1.2.15+dfsg1-4
ii  libsmbclient                      2:4.4.6+dfsg-2
ii  libspeex1                         1.2~rc1.2-1
ii  libswresample2                    7:3.1.5-1
ii  libswscale4                       7:3.1.5-1
ii  libtheora0                        1.1.1+dfsg.1-14
ii  libtinfo5                         6.0+20160917-1
ii  libvdpau1                         1.1.1-5
ii  libvorbisidec1                    1.0.2+svn18153-0.2
ii  libx11-6                          2:1.6.3-1
ii  libxext6                          2:1.3.3-1
ii  libxinerama1                      2:1.1.3-1+b1
ii  libxss1                           1:1.2.2-1
ii  libxv1                            2:1.0.10-1+b1
ii  libxvidcore4                      2:1.3.4-1
ii  libxvmc1                          2:1.0.9-1
ii  libxxf86dga1                      2:1.1.4-1+b1
ii  libxxf86vm1                       1:1.1.4-1
ii  zlib1g                            1:1.2.8.dfsg-2+b1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2               1.0.6-8
ii  fontconfig          2.11.0-6.7
ii  fonts-freefont-ttf  20120503-4
pn  mplayer-doc         <none>
pn  netselect | fping   <none>

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
>From c4925a3d72835ab5eaa4de076f9e74b1f0a2c2cb Mon Sep 17 00:00:00 2001
From: Antonio Ospite <a...@ao2.it>
Date: Thu, 27 Oct 2016 09:00:25 +0200
Subject: [PATCHv2] debian/patches: add
 mplayer-vf-screenshot-avcodec_open2-fix.patch from upstream
X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM<pyWR#k60!#=#>/Vb;]yA5<GWI5`6u&+
 ;6b'@y|8w"wB;4/e!7wYYrcqdJFY,~%Gk_4]cq$Ei/7<j&N3ah(m`ku?pX.&+~:_/wC~dwn^)MizBG
 !pE^+iDQQ1yC6^,)YDKkxDd!T>\I~93>J<_`<4)A{':UrE

Fix a crash when using the screenshot plugin, see
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-June/073497.html

Closes: #834135
---
 .../mplayer-vf-screenshot-avcodec_open2-fix.patch     | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch

diff --git a/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch b/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch
new file mode 100644
index 0000000..77e9791
--- /dev/null
+++ b/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch
@@ -0,0 +1,19 @@
+See http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-June/073497.html
+
+Fixes Debian bug #834135
+
+---
+ libmpcodecs/vf_screenshot.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/libmpcodecs/vf_screenshot.c
++++ b/libmpcodecs/vf_screenshot.c
+@@ -86,6 +86,8 @@ static int config(struct vf_instance *vf
+         vf->priv->avctx->pix_fmt = AV_PIX_FMT_RGB24;
+         vf->priv->avctx->width = d_width;
+         vf->priv->avctx->height = d_height;
++        vf->priv->avctx->time_base.num = 1;
++        vf->priv->avctx->time_base.den = 1;
+         vf->priv->avctx->compression_level = 0;
+         if (avcodec_open2(vf->priv->avctx, avcodec_find_encoder(AV_CODEC_ID_PNG), NULL)) {
+             mp_msg(MSGT_VFILTER, MSGL_FATAL, "Could not open libavcodec PNG encoder\n");
diff --git a/debian/patches/series b/debian/patches/series
index 0ad6c4e..1272b72 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0100_svn37857_CVE-2016-4352.patch
 0200_fix_spelling_error_in_binary.patch
 0201_PATH_MAX_HURD.patch
+mplayer-vf-screenshot-avcodec_open2-fix.patch
-- 
2.10.1

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to