OSDN Git Service

Add AUtils::isInRange, and use it to detect malformed MPEG4 nal sizes
authorLajos Molnar <lajos@google.com>
Thu, 2 Apr 2015 02:32:25 +0000 (19:32 -0700)
committerLajos Molnar <lajos@google.com>
Sat, 25 Apr 2015 00:10:41 +0000 (17:10 -0700)
commitbfed843041b6aaec13ee19996748a7a1476db9c8
treef6f6744dbf809a6d7897767f264944922fe954cf
parenteb204f82afd5519eb544bf8bee692e7152820c3b
Add AUtils::isInRange, and use it to detect malformed MPEG4 nal sizes

Bug: 19641538
Change-Id: I5aae3f100846c125decc61eec7cd6563e3f33777
include/media/stagefright/foundation/AUtils.h
media/libstagefright/MPEG4Extractor.cpp
media/libstagefright/tests/Utils_test.cpp