diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch deleted file mode 100644 index 36abf860..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Description: Workaround to build libav for i586 with gcc 4.9.2 by avoiding memset | ||
2 | Author: Bernhard Übelacker <bernhardu@vr-web.de> | ||
3 | |||
4 | --- | ||
5 | Bug-Debian: https://bugs.debian.org/783082 | ||
6 | Last-Update: 2015-04-28 | ||
7 | |||
8 | Upstream-Status: Backport [debian] | ||
9 | |||
10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
11 | |||
12 | --- gst-libav-1.4.5.orig/gst-libs/ext/libav/libavcodec/h264_cabac.c | ||
13 | +++ gst-libav-1.4.5/gst-libs/ext/libav/libavcodec/h264_cabac.c | ||
14 | @@ -2020,7 +2020,11 @@ decode_intra_mb: | ||
15 | // In deblocking, the quantizer is 0 | ||
16 | h->cur_pic.qscale_table[mb_xy] = 0; | ||
17 | // All coeffs are present | ||
18 | - memset(h->non_zero_count[mb_xy], 16, 48); | ||
19 | + /*memset(h->non_zero_count[mb_xy], 16, 48);*/ | ||
20 | + /* avoiding this memset because it leads at least with gcc4.9.2 to error: 'asm' operand has impossible constraints */ | ||
21 | + for (size_t i = 0; i < 48; i++) { | ||
22 | + ( (unsigned char*)(h->non_zero_count[mb_xy]) ) [i] = 16; | ||
23 | + } | ||
24 | h->cur_pic.mb_type[mb_xy] = mb_type; | ||
25 | sl->last_qscale_diff = 0; | ||
26 | return 0; | ||