Loading media/libstagefright/MPEG4Writer.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -614,7 +614,8 @@ status_t MPEG4Writer::addSource(const sp<MediaSource> &source) { CHECK(source.get() != NULL); CHECK(source.get() != NULL); const char *mime; const char *mime; source->getFormat()->findCString(kKeyMIMEType, &mime); sp<MetaData> meta = source->getFormat(); meta->findCString(kKeyMIMEType, &mime); if (Track::getFourCCForMime(mime) == NULL) { if (Track::getFourCCForMime(mime) == NULL) { ALOGE("Unsupported mime '%s'", mime); ALOGE("Unsupported mime '%s'", mime); Loading Loading
media/libstagefright/MPEG4Writer.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -614,7 +614,8 @@ status_t MPEG4Writer::addSource(const sp<MediaSource> &source) { CHECK(source.get() != NULL); CHECK(source.get() != NULL); const char *mime; const char *mime; source->getFormat()->findCString(kKeyMIMEType, &mime); sp<MetaData> meta = source->getFormat(); meta->findCString(kKeyMIMEType, &mime); if (Track::getFourCCForMime(mime) == NULL) { if (Track::getFourCCForMime(mime) == NULL) { ALOGE("Unsupported mime '%s'", mime); ALOGE("Unsupported mime '%s'", mime); Loading