Closed GoogleCodeExporter closed 9 years ago
thanks... looks like the port to C introduced an implicit cast.
If you modify the GYP files you can disable JPEG. Its not always necessary.
But I'll fix it soon
Original comment by fbarch...@google.com
on 30 Apr 2014 at 12:53
Yes, I know, and I built chromium with -Duse_system_libjpeg=0, so in case of
chromium this issue is solved for me.
But how to disable using the external libjpeg 9 on separate build of libyuv? :)
Original comment by r...@c2.hu
on 1 May 2014 at 5:28
jpeg 9a is available here:
http://ijg.org/
It looks like boolean is no longer an int. Its either a char for WIN32 or an
enum.
Syncing up chrome, libjpeg is still on 6b. May not be trivial to actually test
this, but I can attempt a blind fix.
For the first 3 errors, it looks like the forward declares in libyuv's header
no longer match. Perhaps they don't need to be declared.
The other 3 should use boolean and/or libjpeg's 'FALSE'. A cast to boolean is
likely safe for assigning 0.
Original comment by fbarch...@chromium.org
on 13 May 2014 at 12:22
Here is the proposed fixes:
https://webrtc-codereview.appspot.com/15489005/
Original comment by fbarch...@chromium.org
on 13 May 2014 at 2:05
r1004 has fixes for jpeg 9.
Would you be able to test/confirm that libyuv builds against jpeg 9?
Original comment by fbarch...@chromium.org
on 13 May 2014 at 7:02
Yes, with r1004 the build was successful.
Thank you for the fix.
But the ui/gfx/codec/jpeg_codec.cc fails with same errors.
Original comment by r...@c2.hu
on 13 May 2014 at 9:11
Can you file a bug on crbug.com and feel free to cc me.
Show the exact build error(s), as it may not be easy to reproduce, but for
libyuv the solution was clear, so hopefully chromium fix is too.
I'll follow up on this libyuv fix by rolling into chromium deps, but closing as
fixed.
Thanks for reporting the issue clearly!
Original comment by fbarch...@chromium.org
on 19 May 2014 at 7:21
I filed a bug (and a patch, bacause not a hard thing to fix the issue):
https://code.google.com/p/chromium/issues/detail?id=374956
Original comment by r...@c2.hu
on 19 May 2014 at 10:02
Original issue reported on code.google.com by
r...@c2.hu
on 26 Apr 2014 at 1:25