File: compile-failure.patch

package info (click to toggle)
libvideo-capture-v4l-perl 0.902-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 640 kB
  • ctags: 323
  • sloc: perl: 2,749; ansic: 1,494; sh: 22; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Jochens <aj@andaco.de>
Bug-Debian: #318547
Description: fix FTBFS ("error: invalid lvalue in assignment")

--- a/RTjpeg/codec/modules/RTb2s_raw.c
+++ b/RTjpeg/codec/modules/RTb2s_raw.c
@@ -2,7 +2,7 @@ int RTjpeg_b2s(s16 *data, s8 *strm, u8 b
 {
  int ci=1, co=1, tmp;
 
- (u8)strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]);
+ strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]);
  
  for(ci=1; ci<=63; ci++)
   if(data[RTjpeg_ZZ[ci]]>0)