summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu-system.am1
-rw-r--r--gnu/packages/patches/ffmpeg-check.patch15
-rw-r--r--gnu/packages/video.scm8
3 files changed, 3 insertions, 21 deletions
diff --git a/gnu-system.am b/gnu-system.am
index 312ca1c61d..d2c7aae6bd 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -230,7 +230,6 @@ dist_patch_DATA =						\
   gnu/packages/patches/diffutils-gets-undeclared.patch		\
   gnu/packages/patches/dmd-getpw.patch				\
   gnu/packages/patches/emacs-configure-sh.patch			\
-  gnu/packages/patches/ffmpeg-check.patch			\
   gnu/packages/patches/findutils-absolute-paths.patch		\
   gnu/packages/patches/flac-fix-memcmp-not-declared.patch	\
   gnu/packages/patches/flex-bison-tests.patch			\
diff --git a/gnu/packages/patches/ffmpeg-check.patch b/gnu/packages/patches/ffmpeg-check.patch
deleted file mode 100644
index 0d4f879668..0000000000
--- a/gnu/packages/patches/ffmpeg-check.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-See https://trac.ffmpeg.org/ticket/3177 .
-
-diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
-index 29b188b..dff0a91 100644
---- a/libavcodec/cabac.c
-+++ b/libavcodec/cabac.c
-@@ -301,7 +301,7 @@ STOP_TIMER("get_cabac_bypass")
- 
-     for(i=0; i<SIZE; i++){
- START_TIMER
--        if( (r[i]&1) != get_cabac(&c, state) )
-+        if( (r[i]&1) != get_cabac_noinline(&c, state) )
-             av_log(NULL, AV_LOG_ERROR, "CABAC failure at %d\n", i);
- STOP_TIMER("get_cabac")
-     }
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 563ff3cb77..199f7c2c74 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -21,7 +21,6 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
-  #:use-module (gnu packages)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages fontutils)
@@ -42,9 +41,7 @@
                                  version ".tar.bz2"))
              (sha256
               (base32
-               "1qnspbpwa6cflsb6mkm84ay4nfx60ism6d7lgvnasidck9dmxydy"))
-             ;; from upstream, drop with next release
-             (patches (list (search-patch "ffmpeg-check.patch")))))
+               "1qnspbpwa6cflsb6mkm84ay4nfx60ism6d7lgvnasidck9dmxydy"))))
     (build-system gnu-build-system)
     (inputs
      `(("bc" ,bc)
@@ -60,7 +57,8 @@
        ("yasm" ,yasm)
        ("zlib", zlib)))
     (arguments
-     `(#:phases
+     `(#:test-target "fate"
+       #:phases
          (alist-replace
           'configure
           ;; configure does not work followed by "SHELL=..." and