diff options
author | Andreas Huber <andih@google.com> | 2010-08-04 13:04:46 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-08-04 14:08:14 -0700 |
commit | 15644555189965b8dcb422c5f17ae4c7ada91cee (patch) | |
tree | def0af0a4ed1e896059bf90ffec3609a094898a5 /media/libstagefright/include | |
parent | 737998f5955aa14f1b21967f6f559bca60cb1844 (diff) | |
download | frameworks_base-15644555189965b8dcb422c5f17ae4c7ada91cee.zip frameworks_base-15644555189965b8dcb422c5f17ae4c7ada91cee.tar.gz frameworks_base-15644555189965b8dcb422c5f17ae4c7ada91cee.tar.bz2 |
Don't return a decoder error if the encoded stream does not start with SPS/PPS.
Change-Id: I960ada0c53f8ffe413ecd07c2c754a996841f592
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/AVCDecoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/AVCDecoder.h b/media/libstagefright/include/AVCDecoder.h index 7810171..898c90a 100644 --- a/media/libstagefright/include/AVCDecoder.h +++ b/media/libstagefright/include/AVCDecoder.h @@ -62,6 +62,9 @@ private: int64_t mTargetTimeUs; + bool mSPSSeen; + bool mPPSSeen; + void addCodecSpecificData(const uint8_t *data, size_t size); static int32_t ActivateSPSWrapper( |