Closed
Bug 1174356
Opened 9 years ago
Closed 9 years ago
forward declare mozilla::MediaRawData in mp4_demuxer/Index.h
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: rillian, Assigned: rillian)
References
Details
Attachments
(1 file, 1 obsolete file)
740 bytes,
patch
|
jya
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Hit this trying to hook up a gtest for MP4Metadata.
Attachment #8621895 -
Flags: review?(jyavenard)
Comment 2•9 years ago
|
||
Comment on attachment 8621895 [details] [diff] [review]
Fix
Review of attachment 8621895 [details] [diff] [review]:
-----------------------------------------------------------------
MediaRawData is returned by GetNext()
I don't like to use forward declaration in that case.
To me a function declared in a header must be wholly contained in that header for both the declaration and the object returned.
Here the user of Index.h will also have to do #include MediaData.h in order to use GetNext()
So instead I would include MediaData.h
Attachment #8621895 -
Flags: review?(jyavenard) → review-
Assignee | ||
Comment 3•9 years ago
|
||
Thanks for the review. This better?
Attachment #8621895 -
Attachment is obsolete: true
Attachment #8622521 -
Flags: review?(jyavenard)
Updated•9 years ago
|
Attachment #8622521 -
Flags: review?(jyavenard) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•