diff options
author | Martin Storsjo <martin@martin.st> | 2012-07-13 12:48:19 +0300 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-08-07 11:08:12 -0700 |
commit | 972f2321583ef4094477271e0fc6a1d05a1a0eea (patch) | |
tree | ae5c8ddade5a100486d8a989c7c4d755b7908d60 /MODULE_LICENSE_APACHE2 | |
parent | 97197157cf619fb716710eb67915fdfa93502750 (diff) | |
download | frameworks_av-972f2321583ef4094477271e0fc6a1d05a1a0eea.zip frameworks_av-972f2321583ef4094477271e0fc6a1d05a1a0eea.tar.gz frameworks_av-972f2321583ef4094477271e0fc6a1d05a1a0eea.tar.bz2 |
mediacodec: Return an error on getOutputFormat if there is no output format yet
This avoids crashing if calling the public java method
MediaCodec.getOutputFormat immediately after MediaCodec.start
(as the documentation example shows that one should do!).
Change-Id: Icd3dd7ab9ae9e8f2a67cef171ff176735de95f58
Diffstat (limited to 'MODULE_LICENSE_APACHE2')
0 files changed, 0 insertions, 0 deletions