diff options
-rw-r--r-- | media/libstagefright/ACodec.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 83954f9..a81bca5 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -4187,9 +4187,9 @@ status_t ACodec::getPortFormat(OMX_U32 portIndex, sp<AMessage> ¬ify) { if (!strncmp(mComponentName.c_str(), "OMX.ffmpeg.", 11)) { err = FFMPEGSoftCodec::getVideoPortFormat(portIndex, (int)videoDef->eCompressionFormat, notify, mOMX, mNode); - } - if (err == OK) { - break; + if (err == OK) { + break; + } } if (mIsEncoder ^ (portIndex == kPortIndexOutput)) { |