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

Skip to content
Commit ea252214 authored by Gopalakrishnan Nallasamy's avatar Gopalakrishnan Nallasamy
Browse files

MPEG4Extractor:avoid comparing different int types

samplerate and track.timescale are of different int types. Explicit
cast is needed.

Bug: 117681690

Test: make cts && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Test: Played failing clips from referenced bugs and gapless playback
test files using mediaplayer and observed expected behavior.
Verified calculated delay/padding samples with logcat messages manually.

Change-Id: Ic654b5ba3260fb3297be0824e4a01d229905a448
parent 1b5e2cd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment