Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8a303a7 authored by Hong Teng's avatar Hong Teng Committed by Android Git Automerger
Browse files

am 38ca8aaf: Fix for issue 5490443 Native crash while exporting a video Handle...

am 38ca8aaf: Fix for issue 5490443 Native crash while exporting a video Handle the decoder error case, this modification is to fix the native crash.

* commit '38ca8aaf3ad045d8623bce0be9b351ae9004abb3':
  Fix for issue 5490443 Native crash while exporting a video Handle the decoder error case, this modification is to fix the native crash.
parents 8cc8c7de 00b82d39
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1396,6 +1396,11 @@ M4OSA_ERR VideoEditorVideoDecoder_decode(M4OSA_Context context,
                break;
            }
            continue;
        } else if (errStatus != OK) {
            LOGE("VideoEditorVideoDecoder_decode ERROR:0x%x(%d)",
                errStatus,errStatus);
            lerr = errStatus;
            goto VIDEOEDITOR_VideoDecode_cleanUP;
        }

        // The OMXCodec client should expect to receive 0-length buffers