summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-08-19 09:29:34 -0700
committerAndreas Huber <andih@google.com>2009-08-19 09:37:46 -0700
commit4f5e602e1773a2990bb1f34f09875bd5cd057e5a (patch)
tree24aa72024747f1d7e90729d7fa79ee67fa61d72e /cmds
parenta659744041d0b74b4243fdd448a5fa302a581278 (diff)
downloadframeworks_base-4f5e602e1773a2990bb1f34f09875bd5cd057e5a.zip
frameworks_base-4f5e602e1773a2990bb1f34f09875bd5cd057e5a.tar.gz
frameworks_base-4f5e602e1773a2990bb1f34f09875bd5cd057e5a.tar.bz2
The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 56f6338..185e6ac 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -70,6 +70,7 @@ static void playSource(OMXClient *client, const sp<MediaSource> &source) {
long numIterationsLeft = gNumRepetitions;
MediaSource::ReadOptions options;
+
while (numIterationsLeft-- > 0) {
MediaBuffer *buffer;