OSDN Git Service

stagefright: use frame height if slice height is 0
authorLajos Molnar <lajos@google.com>
Wed, 24 Sep 2014 20:55:10 +0000 (13:55 -0700)
committerLajos Molnar <lajos@google.com>
Wed, 24 Sep 2014 20:59:54 +0000 (13:59 -0700)
commitb32ebac7e3afb49b41eeccf130c8a96c1dae85d1
tree1c7c314eaa3622227122c0129b0e2c4e744c284d
parent846202f5483c30ff380fc997c7d4461cce090098
stagefright: use frame height if slice height is 0

This is a workaround for some vendors that set slice height to 0.
Android uses slice height is the vertical stride for YUV planar
and semiplanar formats.

Bug: 13433554
Change-Id: I4da038e7a768dcd8360c33fa1a9ce95a172f16bb
media/libstagefright/ACodec.cpp