summaryrefslogtreecommitdiffstats
path: root/media/libmedia
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2016-01-22 14:42:31 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-01-22 14:22:20 -0800
commitdfcb22072eca593be848b762e49d4f7ab74bba13 (patch)
treeaad8d9cff0cfed481b83c9ff384ee9a0d8af48db /media/libmedia
parentdf1c503b9dac70cd9b1c433215eea7661b5925da (diff)
downloadframeworks_av-dfcb22072eca593be848b762e49d4f7ab74bba13.zip
frameworks_av-dfcb22072eca593be848b762e49d4f7ab74bba13.tar.gz
frameworks_av-dfcb22072eca593be848b762e49d4f7ab74bba13.tar.bz2
AVUtils: hevc: Return 0 when codec data is malformed
This was returning ERROR_MALFORMED, which is a negative value, since the function prototype returns size_t, it would be converted to somewhere near 2**32 and would never fall into the actual error checking clause in AVUtils::HEVCMuxer::makeHEVCCodecSpecificData. Fixes android.mediastress.cts.HEVCR1080pAacLongPlayerTest#testPlay00 Ticket: CYNGNOS-1683 Change-Id: I13e6a76cb0ee4a6b730e1eb1023320b74a0539c7
Diffstat (limited to 'media/libmedia')
0 files changed, 0 insertions, 0 deletions