Closed
Bug 923848
Opened 12 years ago
Closed 12 years ago
Remove redundant mp3 file format check
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: sotaro, Assigned: sotaro)
Details
Attachments
(1 file, 1 obsolete file)
1.01 KB,
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #922334 +++
By Bug 922334, mp3 file format check is added to OmxDecoder.
So following mp3 file check became reduncant and can remove it.
-----------------------------------------
bool OmxDecoder::TryLoad() {
// snip
if (meta->findCString(kKeyMIMEType, &audioMime) && !strcasecmp(audioMime, AUDIO_MP3)) {
// Feed MP3 parser with cached data. Local files will be fully
// cached already, network streams will update with sucessive
// calls to NotifyDataArrived.
if (ProcessCachedData(0, true)) {
durationUs = mMP3FrameParser.GetDuration();
if (durationUs > totalDurationUs) {
totalDurationUs = durationUs;
}
}
}
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Updated•12 years ago
|
Severity: critical → normal
Assignee | ||
Comment 1•12 years ago
|
||
Reuse the mp3 format info got from extractor.
Assignee | ||
Updated•12 years ago
|
Attachment #814471 -
Flags: review?(chris.double)
Comment 2•12 years ago
|
||
Comment on attachment 814471 [details] [diff] [review]
patch - Reuse mp3 file format check result
Thomas Zimmermann originally added this code so I'd like feedback from them before I review it. Re-ask for review when Thomas has given feedback and it's been addressed, if anything needs addressing.
Attachment #814471 -
Flags: review?(chris.double) → feedback?(tzimmermann)
Updated•12 years ago
|
Attachment #814471 -
Flags: feedback?(tzimmermann) → feedback+
Assignee | ||
Updated•12 years ago
|
Attachment #814471 -
Flags: review?(chris.double)
Comment 3•12 years ago
|
||
Comment on attachment 814471 [details] [diff] [review]
patch - Reuse mp3 file format check result
r+ from me based on :tzimmermann's feedback.
Attachment #814471 -
Flags: review?(chris.double) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Committable patch. Carry 'chris.double: review+'.
Attachment #814471 -
Attachment is obsolete: true
Attachment #816287 -
Flags: review+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•