Closed
Bug 577207
Opened 11 years ago
Closed 11 years ago
vp8 warning: empty body in an if-statement
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: mkohler)
References
()
Details
Attachments
(1 file, 3 obsolete files)
3.31 KB,
patch
|
mkohler
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
media/libvpx/vp8/ decoder/decodemv.c: In function ‘vp8_decode_mode_mvs’: decoder/decodemv.c:235: warning: empty body in an if-statement
i've filed a bug for upstream: http://code.google.com/p/webm/issues/detail?id=123
Assignee: timeless → michaelkohler
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #456236 -
Attachment is obsolete: true
Attachment #456280 -
Flags: review?(tterribe)
Attachment #456236 -
Flags: review?(chris)
Assignee | ||
Comment 4•11 years ago
|
||
.. sorry about this spam ..
Attachment #456280 -
Attachment is obsolete: true
Attachment #456291 -
Flags: review?(tterribe)
Attachment #456280 -
Flags: review?(tterribe)
Comment 5•11 years ago
|
||
Comment on attachment 456291 [details] [diff] [review] Patch v3 Personally I would be the entire if block inside #if CONFIG_DEBUG, but I don't think that's actually important.
Attachment #456291 -
Flags: review?(tterribe) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Could you please write a commit message for committing this to the upstream? Honestly, I have no idea what this patch is about, so I need your help. BTW: timeless, do you want any credits for this bug in the commit message?
timeless@gmail.com is sufficient
err, wait... timeless@mozdev.org for author in realm:*.mozilla.org timeless@gmail.com for author if it's upstream
so, derf's right, the whole block is useless. can you redo the patch as: + while (j != L[++k]) ++ { ++#if CONFIG_DEBUG + if (k >= 16) ++ { +-#if CONFIG_DEBUG + assert(0); +- +-#else +- ; ++ } + #endif ++ } the commit message should probably be something like: limit range checking code for L[k] to CONFIG_DEBUG
Assignee | ||
Comment 10•11 years ago
|
||
I will upload this patch to the libvpx repository later this evening.
Attachment #456291 -
Attachment is obsolete: true
Attachment #456869 -
Flags: review+
Assignee | ||
Comment 11•11 years ago
|
||
Still no verification upstream. derf: could you get someone to do that? ;)
Assignee | ||
Comment 12•11 years ago
|
||
BTW: http://review.webmproject.org/317
Comment 13•11 years ago
|
||
Upstream has been kicked and the patch merged.
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to comment #13) > Upstream has been kicked and the patch merged. Thanks a lot.I don't think we want to wait till the next libvpx update, so I think we need to checkin that ourself.Should be a low risk checkin AFAIK.
Keywords: checkin-needed
Comment 15•11 years ago
|
||
Well, only blockers are being allowed until Fx 4, and I don't think warning fixes count as that.
Assignee | ||
Comment 16•11 years ago
|
||
(In reply to comment #15) > Well, only blockers are being allowed until Fx 4, and I don't think warning > fixes count as that. Oh, right. Forgot about the discussion in moz.dev.planning [1].. But does this mean we just land blockers till Fx 4 and no new bug fixes that make a real difference and are low risk patches? Frankly, this doesn't seem very reasonable to me since the Fx 4 release is still a few month away. Therefore asking for approval-2.0.
Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 456869 [details] [diff] [review] Patch v4 this is a low risk change. I guess we could take it, but it's not my decision eventually.
Attachment #456869 -
Flags: approval2.0?
Updated•11 years ago
|
Attachment #456869 -
Flags: approval2.0? → approval2.0+
Comment 18•11 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/a4b7ad2f4854
You need to log in
before you can comment on or make changes to this bug.
Description
•