Control: tags -1 patch fixed-upstream

Hi,

On Wed, 24 Jan 2018 22:26:50 +0000 jcowg...@debian.org wrote:
> Source: freshplayerplugin
> Version: 0.3.5-1
> Severity: important
> User: debian-multime...@lists.debian.org
> Usertags: ffmpeg-3.5-transition
> 
> Hi,
> 
> Your package FTBFS with the upcoming version 3.5 of FFmpeg.

This upstream commit fixes this:
https://github.com/i-rinat/freshplayerplugin/commit/934aa9c24d34f8203744b56e4ac6e8599446ca02

I have backported the bits that matter to Debian from that commit to
0.3.5 and attached it.

James
Description: Fix FTBFS with FFmpeg 4.0
Origin: backport, https://github.com/i-rinat/freshplayerplugin/commit/934aa9c24d34f8203744b56e4ac6e8599446ca02
Bug-Debian: https://bugs.debian.org/888388
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/ppb_video_decoder.c
+++ b/src/ppb_video_decoder.c
@@ -542,9 +542,9 @@ initialize_decoder(struct pp_video_decod
         goto err;
     }
 
-    if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) {
-        trace_info("%s, codec have CODEC_CAP_TRUNCATED\n", __func__);
-        vd->avctx->flags |= CODEC_FLAG_TRUNCATED;
+    if (vd->avcodec->capabilities & AV_CODEC_CAP_TRUNCATED) {
+        trace_info("%s, codec have AV_CODEC_CAP_TRUNCATED\n", __func__);
+        vd->avctx->flags |= AV_CODEC_FLAG_TRUNCATED;
     }
 
     vd->avctx->opaque = vd;

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to