Fix some static analysis issues in media code
Categories
(Core :: Audio/Video, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: padenot, Assigned: padenot)
Details
Attachments
(21 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D126927
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D126928
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D126929
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D126930
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D126931
Assignee | ||
Comment 7•3 years ago
|
||
INT64_MAX is more than enough for this, no worries to have.
Depends on D126932
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D126933
Assignee | ||
Comment 9•3 years ago
|
||
Depends on D126934
Assignee | ||
Comment 10•3 years ago
|
||
Depends on D126935
Assignee | ||
Comment 11•3 years ago
|
||
This is Chrome-only.
Depends on D126936
Assignee | ||
Comment 12•3 years ago
|
||
Depends on D126937
Assignee | ||
Comment 13•3 years ago
|
||
Somewhat controversial, let me know what you think.
Depends on D126938
Assignee | ||
Comment 14•3 years ago
|
||
We don't use exceptions anyways, but having no warnings allows warning us when
warnings appear, so let's fix this.
Depends on D126939
Assignee | ||
Comment 15•3 years ago
|
||
Depends on D126940
Assignee | ||
Comment 16•3 years ago
|
||
Depends on D126941
Assignee | ||
Comment 17•3 years ago
|
||
Depends on D126942
Assignee | ||
Comment 18•3 years ago
|
||
Depends on D126943
Assignee | ||
Comment 19•3 years ago
|
||
Depends on D126944
Assignee | ||
Comment 20•3 years ago
|
||
Depends on D126945
Assignee | ||
Comment 21•3 years ago
|
||
Depends on D126946
Comment 22•3 years ago
|
||
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/88c9dbc265f6 use 'using' instead of 'typedef' in MediaDecoder.cpp. r=bryce https://hg.mozilla.org/integration/autoland/rev/6b28a5600fee 'auto owner' can be declared as 'auto *owner' in MediaDecoder.cpp. r=bryce https://hg.mozilla.org/integration/autoland/rev/42b69e6ec427 do not use 'else' after 'return' in MediaDecoder.cpp. r=bryce https://hg.mozilla.org/integration/autoland/rev/15582a2f41e5 the parameter 'aSecondaryVideoContainer' is copied for each invocation but only used as a const reference; consider making it a const reference in MediaDecoder.cpp r=bryce https://hg.mozilla.org/integration/autoland/rev/132e76589b5f passing result of std::move() as a const reference argument; no move will actually happen in MediaDecoder.cpp. r=bryce https://hg.mozilla.org/integration/autoland/rev/1507b273da3e do not use 'else' after 'return' in MediaDecoder.cpp. r=bryce https://hg.mozilla.org/integration/autoland/rev/7a15381e527d narrowing conversion from 'size_t' in MediaDecoder.cpp. r=bryce https://hg.mozilla.org/integration/autoland/rev/79212757b61c function 'mozilla::MediaDecoder::OnSecondaryVideoContainerInstalled' has a definition with different parameter names in MediaDecoder.h. r=bryce https://hg.mozilla.org/integration/autoland/rev/18b017cd25a7 constructor does not initialize these fields: mOwnerBrowsingContextId in HTMLMEdiaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/54ba215e9a51 narrowing conversion from 'double' to 'float' in HTMLMEdiaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/741870f29565 narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined in HTMLMEdiaElement.cpp. r=alwu,emilio https://hg.mozilla.org/integration/autoland/rev/e0e245487bbc redundant return statement at the end of a function with a void return type in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/b79004b0ba85 narrowing conversion from 'unsigned long' to signed type 'int32_t' (aka 'int') is implementation-defined HTMLMediaElement.cpp. r=pehrsons https://hg.mozilla.org/integration/autoland/rev/9f55994889a3 move constructors should be marked noexcept HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/4e7e2b64ad12 'auto decoder' can be declared as 'auto *decoder' in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/48edd55318a8 'auto decoder' can be declared as 'auto *decoder' in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/2195c875c46d local copy 'handle' of the variable 'aPrincipalHandle' is never modified; consider avoiding the copy in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/f19ade0d6039 do not use 'else' after 'return' in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/6f13eb57901f 'auto cdmProxy' can be declared as 'auto *cdmProxy' in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/77bb7f9f9026 narrowing conversion from 'double' to 'float' in HTMLMediaElement.cpp. r=alwu https://hg.mozilla.org/integration/autoland/rev/f15b78b88c6a function 'mozilla::dom::HTMLMediaElement::MozGetMetadata' has a definition with different parameter names in HTMLMediaElement.cpp. r=alwu
Comment 23•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/88c9dbc265f6
https://hg.mozilla.org/mozilla-central/rev/6b28a5600fee
https://hg.mozilla.org/mozilla-central/rev/42b69e6ec427
https://hg.mozilla.org/mozilla-central/rev/15582a2f41e5
https://hg.mozilla.org/mozilla-central/rev/132e76589b5f
https://hg.mozilla.org/mozilla-central/rev/1507b273da3e
https://hg.mozilla.org/mozilla-central/rev/7a15381e527d
https://hg.mozilla.org/mozilla-central/rev/79212757b61c
https://hg.mozilla.org/mozilla-central/rev/18b017cd25a7
https://hg.mozilla.org/mozilla-central/rev/54ba215e9a51
https://hg.mozilla.org/mozilla-central/rev/741870f29565
https://hg.mozilla.org/mozilla-central/rev/e0e245487bbc
https://hg.mozilla.org/mozilla-central/rev/b79004b0ba85
https://hg.mozilla.org/mozilla-central/rev/9f55994889a3
https://hg.mozilla.org/mozilla-central/rev/4e7e2b64ad12
https://hg.mozilla.org/mozilla-central/rev/48edd55318a8
https://hg.mozilla.org/mozilla-central/rev/2195c875c46d
https://hg.mozilla.org/mozilla-central/rev/f19ade0d6039
https://hg.mozilla.org/mozilla-central/rev/6f13eb57901f
https://hg.mozilla.org/mozilla-central/rev/77bb7f9f9026
https://hg.mozilla.org/mozilla-central/rev/f15b78b88c6a
Description
•