Closed Bug 766253 Opened 12 years ago Closed 12 years ago

libyuv (imported with WebRTC) uses uint8 with signed initializers

Categories

(Core :: WebRTC: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jesup, Assigned: jesup)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Attached patch Simple fixSplinter Review
In webrtc.org's tracker as bug 188; trivial patch. http://code.google.com/p/webrtc/issues/detail?id=188
Attachment #634540 - Flags: review?(tterribe)
Comment on attachment 634540 [details] [diff] [review] Simple fix Review of attachment 634540 [details] [diff] [review]: ----------------------------------------------------------------- ::: media/webrtc/trunk/third_party/libyuv/source/row_posix.cc @@ +27,5 @@ > CONST vec8 kARGBToU = { > 112, -74, -38, 0, 112, -74, -38, 0, 112, -74, -38, 0, 112, -74, -38, 0 > }; > > +CONST vec8 kARGBToV = { I'd argue that using negative numbers in an initializer for an unsigned value is just as broken, but...
Attachment #634540 - Flags: review?(tterribe) → review+
Err, ignore the comment. I was reading the diff backwards. Still r+.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: