[avidemux] Attempt to fix narrowing conversion issue.

Richard Shaw hobbes1069 at rpmfusion.org
Fri Jul 8 16:33:11 CEST 2016


commit c7abbb7a7103b107dac4c9a851ba002233237f69
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Fri Jul 8 09:32:59 2016 -0500

    Attempt to fix narrowing conversion issue.

 avidemux-2.6.12-gcc6.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/avidemux-2.6.12-gcc6.patch b/avidemux-2.6.12-gcc6.patch
index aa62abd..695f6d8 100644
--- a/avidemux-2.6.12-gcc6.patch
+++ b/avidemux-2.6.12-gcc6.patch
@@ -56,3 +56,17 @@
  bool tsPacket::decodePesHeader(TS_PESpacket *pes)
  {
      uint8_t  *start=pes->payload+6;
+--- a/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.h
++++ b/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.h
+@@ -43,9 +43,9 @@
+ 		2,				/* max_b_frames */ \
+ 		0,				/* mpeg_quant */ \
+ 		1,				/* is_luma_elim_threshold */ \
+-		-2,				/* luma_elim_threshold */ \
++		int -2,				/* luma_elim_threshold */ \
+ 		1,				/* is_chroma_elim_threshold */ \
+-		-5,				/* chroma_elim_threshold */ \
++		int -5,				/* chroma_elim_threshold */ \
+ 		0.05,				/*lumi_masking */ \
+ 		1,				/* is lumi */ \
+ 		0.01,				/*dark_masking */ \


More information about the rpmfusion-commits mailing list