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

Skip to content
Commit eeb8a901 authored by Diogo Ferreira's avatar Diogo Ferreira Committed by Steve Kondik
Browse files

stagefright: ACodec: Don't return success when encoders fail to init

When configureCodec fails we try to fallback to another codec that
supports the mimeType. However, this fallback is only done for
decoders and, if encoders fail, they will always end up sending
a success notification and returning true, causing mediaserver to
crash.

Change-Id: I32bee3167a8b43243cd708258435174f90f21a1b
parent ab77bc71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment