Your message dated Tue, 08 Mar 2016 22:08:54 +0000
with message-id <[email protected]>
and subject line Bug#803826: fixed in info-beamer 1.0~pre3-1.1
has caused the Debian Bug report #803826,
regarding info-beamer: FTBFS with FFmpeg 2.9
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
803826: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803826
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: info-beamer
Version: 1.0~pre3-1
Severity: important
Tags: patch
User: [email protected]
Usertags: ffmpeg2.9
Dear Maintainer,
your package fails to build with the upcoming ffmpeg 2.9.
This bug will become release-critical at some point when the
ffmpeg2.9 transition gets closer.
Attached is a patch replacing the deprecated functionality.
It also works with ffmpeg 2.8.
Please apply this patch and forward it upstream, if necessary.
These changes have little regression potential.
Best regards,
Andreas
diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
new file mode 100644
index 0000000..35d71e2
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,38 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2015-11-02>
+
+--- info-beamer-1.0~pre3.orig/video.c
++++ info-beamer-1.0~pre3/video.c
+@@ -64,9 +64,9 @@ static void video_free(video_t *video) {
+ if (video->scaler)
+ sws_freeContext(video->scaler);
+ if (video->raw_frame)
+- av_free(video->raw_frame);
++ av_frame_free(&video->raw_frame);
+ if (video->scaled_frame)
+- av_free(video->scaled_frame);
++ av_frame_free(&video->scaled_frame);
+
+ if (video->codec_context)
+ avcodec_close(video->codec_context);
+@@ -78,7 +78,7 @@ static void video_free(video_t *video) {
+
+ static int video_open(video_t *video, const char *filename) {
+ video->finished = 0;
+- video->format = PIX_FMT_RGB24;
++ video->format = AV_PIX_FMT_RGB24;
+
+ if (avformat_open_input(&video->format_context, filename, NULL, NULL) ||
+ avformat_find_stream_info(video->format_context, NULL) < 0) {
+@@ -143,8 +143,8 @@ static int video_open(video_t *video, co
+ fprintf(stderr, INFO("fps: %lf\n"), video->fps);
+
+ /* Get framebuffers */
+- video->raw_frame = avcodec_alloc_frame();
+- video->scaled_frame = avcodec_alloc_frame();
++ video->raw_frame = av_frame_alloc();
++ video->scaled_frame = av_frame_alloc();
+
+ if (!video->raw_frame || !video->scaled_frame) {
+ fprintf(stderr, ERROR("cannot preallocate frames\n"));
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..f762d21 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ffmpeg_2.9.patch
--- End Message ---
--- Begin Message ---
Source: info-beamer
Source-Version: 1.0~pre3-1.1
We believe that the bug you reported is fixed in the latest version of
info-beamer, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Ramacher <[email protected]> (supplier of updated info-beamer
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 06 Mar 2016 22:31:09 +0100
Source: info-beamer
Binary: info-beamer
Architecture: source
Version: 1.0~pre3-1.1
Distribution: unstable
Urgency: medium
Maintainer: Noël Köthe <[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Description:
info-beamer - interactive multimedia presentation framework
Closes: 803826
Changes:
info-beamer (1.0~pre3-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Andreas Cadhalpun ]
* Fix build against ffmpeg 3.0. (Closes: #803826)
Checksums-Sha1:
cbcec8e978f9f14ca26486e5ab829f82101d52b2 1892 info-beamer_1.0~pre3-1.1.dsc
ec5edcc1ade2fd4ec27ec77a366d2262a7c21b84 3944
info-beamer_1.0~pre3-1.1.debian.tar.xz
Checksums-Sha256:
32256357b1140ee44dff8ae2986c030a8011c6ef8166c6074978d4f4bcef4bb3 1892
info-beamer_1.0~pre3-1.1.dsc
e86f84624d7a8e16782fd707ab715943d4f6425c038b2fed998b8ced9dfe060f 3944
info-beamer_1.0~pre3-1.1.debian.tar.xz
Files:
6545dafab5a7233f1d300357f9ed0982 1892 misc optional
info-beamer_1.0~pre3-1.1.dsc
eaeb42df40de586bef0984b04c9f2227 3944 misc optional
info-beamer_1.0~pre3-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJW3KIlAAoJEGny/FFupxmTt2wP/36k1bCtH3NbEEvVNkKPndRr
4Z6FYFu+BcD6ROHQY1g0h1ksY13OkoMvxiMHmhX0LNTqO7ZuCuGS4M6FP85uDYAQ
+qa2I5TafSXruB2AV7Y2B+P2imLDJslOo38Pc7vfpk/bcxjRQUhIxUz5w/6k4ABM
be3Q4MxOE5fsS6qPrWIwhqjAiI7Nol6kwAtPjphDnrGIniDhVDcNbIiRJO/65c+B
dZHz33ET7ev9nJgyYZ2iUj5wV+gG9ax8J1/p49+0zeU5hzCGWn1i/f09kNwMIb4+
t+HrQD+KJ4ubbsOyJAD7ZEcr7/sqtBtnRqbxaRjZfWvYFl9PpFNhMKyq+rKwPBUw
8UsZrLb7fq1KoAPX659zBsHMVJBcBGqT3T+f7KpNHFxiOJLdyPO0l8RYSxAu+sw6
lzR86S4FaFZEzOJJxiXMp7FcyxMqi6s3jpi6t9163ZmY9sE33v9v9QJBtFUehLmC
Or+uHY7RivymCYlUZRyR5au1+xNlb2kAlksuxdxukkTs8EcPMKd9QNAeyCYJezGg
sYWbMD7GtvRDRu4XgPeHT/u8PS1kXF7QTl9syY1bqBh1vTVZo+9bUMkCGzQsqd8o
lCiIRuFn0MKYCGiEqGzwpwP5x7M3J8FahWPyNCsrdoSKpLzhZFVc55z2FkjN69Oz
fCN3wh3xI9zHONZ5+32W
=h9Mc
-----END PGP SIGNATURE-----
--- End Message ---