[avidemux] More tweaks to the gcc 6 patch.

Richard Shaw hobbes1069 at rpmfusion.org
Thu Jul 7 21:24:41 CEST 2016


commit 7dcb568e055c0bf28e741fd6ff1f0d3b071eecde
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Thu Jul 7 14:24:32 2016 -0500

    More tweaks to the gcc 6 patch.

 avidemux-2.6.12-gcc6.patch | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/avidemux-2.6.12-gcc6.patch b/avidemux-2.6.12-gcc6.patch
index 451a22f..1488448 100644
--- a/avidemux-2.6.12-gcc6.patch
+++ b/avidemux-2.6.12-gcc6.patch
@@ -9,12 +9,20 @@
    codecId=codecid; \
    _context = avcodec_alloc_context3 (codec);\
    ADM_assert (_context);\
-@@ -213,7 +213,7 @@ if(!codec) {GUI_Error_HIG("Codec",QT_TR_
+@@ -212,13 +212,13 @@ if(!codec) {GUI_Error_HIG("Codec",QT_TR_
+   \
    if (avcodec_open2(_context, codec, NULL) < 0)  \
                        { \
-                                         printf("[lavc] Decoder init: "display" video decoder failed!\n"); \
+-                                        printf("[lavc] Decoder init: "display" video decoder failed!\n"); \
 -                                        GUI_Error_HIG("Codec","Internal error opening "display); \
++                                        printf("[lavc] Decoder init: " display " video decoder failed!\n"); \
 +                                        GUI_Error_HIG("Codec","Internal error opening " display); \
                                          ADM_assert(0); \
                                  } \
                                  else \
+                                 { \
+-                                        printf("[lavc] Decoder init: "display" video decoder initialized! (%s)\n",codec->long_name); \
++                                        printf("[lavc] Decoder init: " display " video decoder initialized! (%s)\n",codec->long_name); \
+                                 } \
+ }
+ 


More information about the rpmfusion-commits mailing list