commit | 5d1e90cd612c54c2ca7aeea004c302ae0b22f8fd | [log] [tgz] |
---|---|---|
author | Yixiao Luo <yixiaoluo@google.com> | Fri Nov 22 05:54:21 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Nov 22 05:54:21 2024 +0000 |
tree | e920100286efea03ce85e277d2190812150a1439 | |
parent | 4b18779def8a8c3633f38311dec050e9721b8d3c [diff] | |
parent | d8548a3560df065a21e1dd33d3f1e1a8e03c42a1 [diff] |
Merge "Fixed LinearBlock thumbnail crash issue" into main
diff --git a/media/libstagefright/MediaCodec.cpp b/media/libstagefright/MediaCodec.cpp index 8cb1674..a374bf4 100644 --- a/media/libstagefright/MediaCodec.cpp +++ b/media/libstagefright/MediaCodec.cpp
@@ -6090,9 +6090,9 @@ } if (csd->size() == 0) { ALOGW("csd-%zu size is 0", i); + } else { + mCSD.push_back(csd); } - - mCSD.push_back(csd); ++i; }