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

Commit 061a0180 authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

MediaExtractor: clarify EOS behavior for local files am: e6b987c5

am: 7709e783

Change-Id: Iaeb510d47505763722ad5ae16e408e1da10cf5a0
parents e8c70bd3 7709e783
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -496,6 +496,11 @@ final public class MediaExtractor {
    /**
     * Advance to the next sample. Returns false if no more sample data
     * is available (end of stream).
     *
     * When extracting a local file, the behaviors of {@link #advance} and
     * {@link #readSampleData} are undefined in presence of concurrent
     * writes to the same local file; more specifically, end of stream
     * could be signalled earlier than expected.
     */
    public native boolean advance();