Control: tags 803835 + pending

Dear maintainer,

I've prepared an NMU for libextractor (versioned as 1:1.3-3.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
Sebastian Ramacher
diff -Nru libextractor-1.3/debian/changelog libextractor-1.3/debian/changelog
--- libextractor-1.3/debian/changelog	2015-11-15 17:13:37.000000000 +0100
+++ libextractor-1.3/debian/changelog	2016-04-25 19:36:15.000000000 +0200
@@ -1,3 +1,12 @@
+libextractor (1:1.3-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Andreas Cadhalpun ]
+  * Fix build against ffmpeg 3.0. (Closes: #803835)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Mon, 25 Apr 2016 19:36:14 +0200
+
 libextractor (1:1.3-3) unstable; urgency=medium
 
   * Update long description to list the supported formats.
diff -Nru libextractor-1.3/debian/patches/ffmpeg_2.9_pixfmt.patch libextractor-1.3/debian/patches/ffmpeg_2.9_pixfmt.patch
--- libextractor-1.3/debian/patches/ffmpeg_2.9_pixfmt.patch	1970-01-01 01:00:00.000000000 +0100
+++ libextractor-1.3/debian/patches/ffmpeg_2.9_pixfmt.patch	2016-04-25 19:35:47.000000000 +0200
@@ -0,0 +1,51 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
+Last-Update: <2015-11-28>
+
+--- libextractor-1.3.orig/src/plugins/thumbnailffmpeg_extractor.c
++++ libextractor-1.3/src/plugins/thumbnailffmpeg_extractor.c
+@@ -153,7 +153,7 @@ seek_cb (void *opaque,
+ static size_t 
+ create_thumbnail (int src_width, int src_height, 
+ 		  int src_stride[],
+-		  enum PixelFormat src_pixfmt, 
++		  enum AVPixelFormat src_pixfmt,
+ 		  const uint8_t * const src_data[],
+ 		  int dst_width, int dst_height,
+ 		  uint8_t **output_data, 
+@@ -189,7 +189,7 @@ create_thumbnail (int src_width, int src
+   if (NULL == 
+       (scaler_ctx =
+        sws_getContext (src_width, src_height, src_pixfmt,
+-		       dst_width, dst_height, PIX_FMT_RGB24, 
++		       dst_width, dst_height, AV_PIX_FMT_RGB24,
+ 		       SWS_BILINEAR, NULL, NULL, NULL)))
+     {
+ #if DEBUG
+@@ -214,7 +214,7 @@ create_thumbnail (int src_width, int src
+       return 0;
+     }
+   if (NULL == (dst_buffer =
+-	       av_malloc (avpicture_get_size (PIX_FMT_RGB24, dst_width, dst_height))))
++	       av_malloc (avpicture_get_size (AV_PIX_FMT_RGB24, dst_width, dst_height))))
+     {
+ #if DEBUG
+       fprintf (stderr,
+@@ -229,7 +229,7 @@ create_thumbnail (int src_width, int src
+       return 0;
+     }
+   avpicture_fill ((AVPicture *) dst_frame, dst_buffer,
+-                  PIX_FMT_RGB24, dst_width, dst_height);
++                  AV_PIX_FMT_RGB24, dst_width, dst_height);
+   sws_scale (scaler_ctx,
+              src_data, 
+              src_stride,
+@@ -272,7 +272,7 @@ create_thumbnail (int src_width, int src
+     }
+   encoder_codec_ctx->width = dst_width;
+   encoder_codec_ctx->height = dst_height;
+-  encoder_codec_ctx->pix_fmt = PIX_FMT_RGB24;
++  encoder_codec_ctx->pix_fmt = AV_PIX_FMT_RGB24;
+   opts = NULL;
+   if (avcodec_open2 (encoder_codec_ctx, encoder_codec, &opts) < 0)
+     {
diff -Nru libextractor-1.3/debian/patches/series libextractor-1.3/debian/patches/series
--- libextractor-1.3/debian/patches/series	2015-11-15 14:53:19.000000000 +0100
+++ libextractor-1.3/debian/patches/series	2016-04-25 19:35:47.000000000 +0200
@@ -1,2 +1,3 @@
 libgiflib5.1.patch
 ffmpeg2.9.patch
+ffmpeg_2.9_pixfmt.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to