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

Commit 533dc786 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 7d146197: Merge "Fix divide by zero." into gingerbread

Merge commit '7d146197' into gingerbread-plus-aosp

* commit '7d146197':
  Fix divide by zero.
parents d6dc45c3 7d146197
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ status_t MyVorbisExtractor::readNextPacket(MediaBuffer **out) {
                memcpy(tmp->data(), buffer->data(), buffer->range_length());
                tmp->set_range(0, buffer->range_length());
                buffer->release();
            } else {
            } else if (mVi.rate) {
                // XXX Not only is this not technically the correct time for
                // this packet, we also stamp every packet in this page
                // with the same time. This needs fixing later.