OSDN Git Service

MPEG2TSWriter: Fix an off-by-one in the condition for padding
authorMartin Storsjo <martin@martin.st>
Mon, 20 Aug 2012 13:34:14 +0000 (14:34 +0100)
committerMartin Storsjo <martin@martin.st>
Mon, 20 Aug 2012 13:34:14 +0000 (14:34 +0100)
commitc867a50ec5317e74602798e2e8435cde313b91e9
treec30488f382a34b1adea9c8ffb1f92167f52c4cc5
parent64b3fe55f7edd16be32e07c28c2c90f84f3b9b80
MPEG2TSWriter: Fix an off-by-one in the condition for padding

This makes a remuxed file play without any decoding warnings,
while there still were some occasional warnings with the previous
version.

Change-Id: I31d73446ded1eeb3da10783c5ef841270563ca12
media/libstagefright/MPEG2TSWriter.cpp