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
Loading
Please register or sign in to comment