lwlibav: Don't exceed the maximum presentation size specified for each sequence.