commit | a3db2b4c1ff1e4f5b0f57443a0ea2abee71a1c83 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jan 15 18:08:07 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jan 15 18:08:07 2019 +0000 |
tree | 20d5eaee43fcd0aa41ea79d46b2be37cce759df9 | |
parent | 25b0f8dc2a5756f5c3484e097dc80eac8e20846f [diff] | |
parent | 4bb320ab061fecb6dbf0c2ae9f37260d2b4ee2c4 [diff] |
Merge "Fix sw mpeg4 codec crash when p-vop of mp4-dp type is at first after resubmit csd"
diff --git a/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp b/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp index fda7028..a8fcdd1 100644 --- a/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp +++ b/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
@@ -382,6 +382,7 @@ if (portIndex == 0 && mInitialized) { CHECK_EQ((int)PVResetVideoDecoder(mHandle), (int)PV_TRUE); } + mFramesConfigured = false; } void SoftMPEG4::onReset() {