2459ec2b31
The lgpl PACKAGECONFIG is replaced by a gpl one, since the LGPL build is the default now. There is no --enable-lgpl switch anymore, it got replaced by --enable-gpl. (From OE-Core rev: ef620928b5caadae939e2759b1c3933084ad9ebb) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
1 KiB
Diff
27 lines
1 KiB
Diff
Description: Workaround to build libav for i586 with gcc 4.9.2 by avoiding memset
|
|
Author: Bernhard Übelacker <bernhardu@vr-web.de>
|
|
|
|
---
|
|
Bug-Debian: https://bugs.debian.org/783082
|
|
Last-Update: 2015-04-28
|
|
|
|
Upstream-Status: Backport [debian]
|
|
|
|
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
|
|
--- gst-libav-1.4.5.orig/gst-libs/ext/libav/libavcodec/h264_cabac.c
|
|
+++ gst-libav-1.4.5/gst-libs/ext/libav/libavcodec/h264_cabac.c
|
|
@@ -2020,7 +2020,11 @@ decode_intra_mb:
|
|
// In deblocking, the quantizer is 0
|
|
h->cur_pic.qscale_table[mb_xy] = 0;
|
|
// All coeffs are present
|
|
- memset(h->non_zero_count[mb_xy], 16, 48);
|
|
+ /*memset(h->non_zero_count[mb_xy], 16, 48);*/
|
|
+ /* avoiding this memset because it leads at least with gcc4.9.2 to error: 'asm' operand has impossible constraints */
|
|
+ for (size_t i = 0; i < 48; i++) {
|
|
+ ( (unsigned char*)(h->non_zero_count[mb_xy]) ) [i] = 16;
|
|
+ }
|
|
h->cur_pic.mb_type[mb_xy] = mb_type;
|
|
sl->last_qscale_diff = 0;
|
|
return 0;
|