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

Commit b6541f0a authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Fix a crash due to unnecessary check on the codec config data for H263...

Merge "Fix a crash due to unnecessary check on the codec config data for H263 video track" into gingerbread
parents 581581fe 7ae08a6d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1956,11 +1956,11 @@ void MPEG4Writer::Track::writeTrackHeader(
                  mOwner->writeInt16(0x18);        // depth
                  mOwner->writeInt16(-1);          // predefined

                  CHECK(mCodecSpecificData);
                  CHECK(mCodecSpecificDataSize > 0);
                  CHECK(23 + mCodecSpecificDataSize < 128);

                  if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_MPEG4, mime)) {
                      CHECK(mCodecSpecificData);
                      CHECK(mCodecSpecificDataSize > 0);
                      mOwner->beginBox("esds");

                        mOwner->writeInt32(0);           // version=0, flags=0