The MP4Demuxer::mResource RefPtr is set once with a MediaResource and then never used. That MediaResource is also stored in a RefPtr inside MP4Demuxer::mStream, therefore its lifetime will not be shortened. So we can just get rid of MP4Demuxer::mResource.
My mistake, it's actually used from MP4TrackDemuxer. I forgot to save a file before compiling, d'oh!
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.