mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 923848 - Reuse mp3 file format check result. r=doublec
This commit is contained in:
parent
d56fa20eab
commit
852bed7c7d
@ -411,7 +411,7 @@ bool OmxDecoder::TryLoad() {
|
||||
const char* audioMime;
|
||||
sp<MetaData> meta = mAudioTrack->getFormat();
|
||||
|
||||
if (meta->findCString(kKeyMIMEType, &audioMime) && !strcasecmp(audioMime, AUDIO_MP3)) {
|
||||
if (mIsMp3) {
|
||||
// Feed MP3 parser with cached data. Local files will be fully
|
||||
// cached already, network streams will update with sucessive
|
||||
// calls to NotifyDataArrived.
|
||||
|
Loading…
Reference in New Issue
Block a user