• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gstreamer/gst-ffmpeg/0001-gcc47.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
gst-ffmpeg libav: Fixes compiling gst-ffmpeg with gcc-4.7
2
​
3
Fetch from: http://www.slackware.com/~alien/slackbuilds/gst-plugins-ffmpeg/build/gst-ffmpeg-0.10.13_gcc47.patch
4
​
5
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
6
---
7
Submitted By: Andrew Benton <andy@benton.eu.com>
8
Date: 2012-06-15
9
Initial Package Version: 0.10.13
10
Upstream Status: From upstream
11
Origin:
12
http://git.videolan.org/?p=ffmpeg.git;a=patch;h=5f654897e325349dacf2546674e0510bb72ecb50
13
​
14
Description: Fixes compiling gst-ffmpeg with gcc-4.7
15
​
16
libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
17
libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
18
libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
19
libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
20
libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
21
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
22
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
23
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
24
make[5]: *** [libavcodec/x86/dsputil_mmx.o] Error 1
25
​
26
Index: gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/x86/h264_qpel_mmx.c
27
===================================================================
28
--- gst-ffmpeg-0.10.13.orig/gst-libs/ext/libav/libavcodec/x86/h264_qpel_mmx.c   2012-03-30 11:39:41.324522051 -0700
29
+++ gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/x86/h264_qpel_mmx.c    2012-03-30 11:54:08.152564075 -0700
30
@@ -398,7 +398,7 @@
31
             "2:                         \n\t"\
32
             \
33
             : "+a"(src), "+c"(dst)\
34
-            : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
35
+            : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
36
             : "memory"\
37
         );\
38
         src += 4-(h+5)*srcStride;\
39
@@ -446,7 +446,7 @@
40
             QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
41
             "2:                     \n\t"\
42
             : "+a"(src)\
43
-            : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)\
44
+            : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)\
45
             : "memory"\
46
             );\
47
         tmp += 4;\
48
@@ -823,7 +823,7 @@
49
         "2:                          \n\t"\
50
         \
51
         : "+a"(src), "+c"(dst)\
52
-        : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
53
+        : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
54
         : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
55
                        "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
56
           "memory"\
57
@@ -878,7 +878,7 @@
58
             QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48)
59
             "2:                         \n\t"
60
             : "+a"(src)
61
-            : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)
62
+            : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)
63
             : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",
64
                            "%xmm4", "%xmm5", "%xmm6", "%xmm7",)
65
               "memory"
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.